3 Jun 2012 10:53
RFE/RFC: Include format Attribute in DocBook Schema?
Thomas Schraitle <tom_schr <at> web.de>
2012-06-03 08:53:01 GMT
2012-06-03 08:53:01 GMT
Hi, the Common Effectivity Attributes[1] in TDG5.1 contains a lot of useful attributes. However, IMHO, we don't have a way to express that an element "belongs" to a specific (output) format only. As such, I would propose to add such a "format" attribute to the DocBook schema (in the following text I use "format" for simplicity reasons. If you don't like it, feel free to suggest a different name like "outputformat", "targetformat", or whatever you think is appropriate.) I know the committee is hesitent to add additional attributes to the schema, but I think it has several benefits. Here is why I think this is useful: 1. Currently, the DocBook stylesheets support several output formats. Probably this list will grow in the future. Dealing with such a variety of possible output formats makes it sometimes harder to write in a "format independant" way. However, if someone really wants to express that a certain element is only useful for PDF, the current list of common attributes doesn't support this. From a semantic point of view, no common effectivity attributes are suited for this task. By using a "format" attribute in combination with profiling, I can distinguish such a case. 2. The current assembly schema contains in its <output/>[2] element a "format" attribute (actually that's where this idea originated). However, with the raise of assemblies and modules, output formats will become(Continue reading)
RSS Feed