OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]