conditional coding with docbook
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 4
- Joined: Thu Aug 18, 2005 5:56 pm
conditional coding with docbook
according to docbook, (http://www.sagehill.net/docbookxsl/Profiling.html) there are given attributes to use for conditional coding (or profiling), but I would like to use a customized profiling attribute.
When coding in oxygen, oxygen will not allow me to use my custom attribute. Is there a setting somewhere in oxygen to all this?
Thanks!
LN
When coding in oxygen, oxygen will not allow me to use my custom attribute. Is there a setting somewhere in oxygen to all this?
Thanks!
LN
-
- Posts: 4
- Joined: Thu Aug 18, 2005 5:56 pm
customized attbitues for docbook is described here http://www.sagehill.net/docbookxsl/Cust ... gAttr.html.
So basically I'm looking for a place to put the "profile.attribute "status"" or modify the dtd?
I suspect the dtd has to be modified?
So basically I'm looking for a place to put the "profile.attribute "status"" or modify the dtd?
I suspect the dtd has to be modified?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Adding that parameter entity declaration as a customization of the DocBook DTD will enable <oXygen/> to offer the product attribute in the content completion window on many DocBook tags like title, para, sect1, sect2, variablelist, etc. This will make editing the file easier and it will keep it valid. To use the attribute in a profiling DocBook transformation you have to specify the value product for the attribute called profile.attribute of the profiling stylesheet and the value on which you want to profile, for example myProduct as the value of the attribute profile.value.
Regards,
Sorin
Adding that parameter entity declaration as a customization of the DocBook DTD will enable <oXygen/> to offer the product attribute in the content completion window on many DocBook tags like title, para, sect1, sect2, variablelist, etc. This will make editing the file easier and it will keep it valid. To use the attribute in a profiling DocBook transformation you have to specify the value product for the attribute called profile.attribute of the profiling stylesheet and the value on which you want to profile, for example myProduct as the value of the attribute profile.value.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service