[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] variables or conditional coding
Oh! That would work nicely! Thanks Scott! LN -----Original Message----- From: Scott Hudson [mailto:scottys.log@gmail.com] Sent: Wednesday, March 08, 2006 3:10 PM To: Webmaster Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] variables or conditional coding If' it's primarily product names you need to have switched out, you could also use text entities like so: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd" [ <!ENTITY client 'Spaceley Sprockets'> <!ENTITY client_short 'SSprockets'> <!ENTITY product 'Widget'> ]> <article> <title>&client; &product; User Story: Conversion of WinHelp to RoboHTML</title> <articleinfo> ... HTH, --Scott Webmaster wrote: > I think so... It looks like profiling can be used on in-line elements, > right? or is it only used for block elements/sections/chapters? > > > LN > > -----Original Message----- > From: Mauritz Jeanson [mailto:mj@johanneberg.com] > Sent: Wednesday, March 08, 2006 2:29 PM > To: Webmaster; docbook-apps@lists.oasis-open.org > Subject: RE: [docbook-apps] variables or conditional coding > > > >> -----Original Message----- >> From: Webmaster >> >> Somewhere, I found information that you can have set up >> variables and use >> them conditionally in a docbook xml file. or sometimes called >> conditional >> coding >> >> Is there a link I can read up on this? >> >> basically, we're writing documentation that can be used for multiple >> products, and we want to have the ability to display the >> correct product >> name, when we generate the output. >> > > > Is this what you are looking for? > http://www.sagehill.net/docbookxsl/Profiling.html > > /MJ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]