OASIS Open Mailing List Archives  ·  All Lists  ·  dita  ·  2010-01

dita — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

Conditional processing for


Hi Su-Laine, > The DITA 1.1 description is here: http://docs.oasis-open.org/dita/ > v1.1/CD02/langspec/langref/ditaval-prop.html and it says, “Include > the content in output. This is the default behavior unless otherwise > set.” It does not say whether “include” statements are only for the > benefit of people looking at the DITAVAL file (which is how the spec has > apparently been interpreted by the OT developers) or whether > “include” statements are supposed to be acted upon by processors. Does "only for the benefit of people looking at DITAVAL" mean that this would never have any effect except that people reading the file see it? If so - that is not the case. It is possible to set a default value of "exclude" for a single attribute or for all attributes; in that case, all property values may default to "exclude", and only those that explicitly say "include" are treated as include. Specifically, in the description of the prop element, it says in DITA 1.1: There can be at most one occurrence of a "prop" element with no attribute specified (setting a default action for every prop element), at most one for each attribute with no value specified (setting the default action for a specific attribute), and at most one with each attribute value specification (to avoid conflicting actions for the same attribute value). Thus - prop with no attribute specified sets a default action for every prop element. To set the default to "exclude":

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]