This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] XML profiling problem


Jirka,

Not completly. What if:

<para thingie="blue">Blue thingie</para>
<para thingie="yellow">Yellow thingie</para>
<para 'thingie="allothercases"'>Thingie<para>

<para thingie="reddot">with red dot</para>
<para thingie="green">in green</para>
<para 'thingie="allothercases"'>, nicely colored,</para>

<para>are operated by pushing</para>

where the desired outputs are:

Blue thingie, nicely colored, are ... (blue)
Yellow thingie, nicely colored, are ...   (yellow)
Thingie in green are ... (reddot)
Thingie with red dot are ... (green)
Thingie, nicely colored, are ... (-)

Is there any posibility to make profiling somewhat like a case statement
where the default is chosen only when the other options are not
selected?

Maarten


> 
> Sanders, M. wrote:
> 
> > Obviously the next chapter holds a para for only the thingie 
> > "withyellowdot" and a para that is to be used in all other cases.
> > 
> > Is there a way to do so without having to update this part of the 
> > manual for every new thingie our engineers come forward with?
> 
> One possibility is to mark second paragraph as "notwithyellowdot" and 
> use this profile if you are not processing for "withyellowdot".
> 
> 				Jirka

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]