Default profile for a book
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 7
- Joined: Wed Apr 15, 2015 2:53 pm
Default profile for a book
Is there a way to define a default profile for a given Docbook book? I.e if you want you can override it in the transformation scenario by setting profile.audience=something but if you do not define profile.audience then a default value (defined in the XML) is used.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Default profile for a book
Hi,
The XSLT stylesheets used by Oxygen by default to convert Docbook content to various output formats are located in:
OXYGEN_INSTALL_DIR/frameworks/docbook/xsl
If you search in all of them using Oxygen's Find/Replace in Files for this parameter:
it can probably be altered to set a default value to it:
We have a presentation about creating a Docbook customization layer which can be used to overwrite XSLT:
http://www.oxygenxml.com/demo/DocBook_C ... ation.html
You could also register on the Docbook Apps Users list and ask for second opinions:
http://www.docbook.org/help
Regards,
Radu
The XSLT stylesheets used by Oxygen by default to convert Docbook content to various output formats are located in:
OXYGEN_INSTALL_DIR/frameworks/docbook/xsl
If you search in all of them using Oxygen's Find/Replace in Files for this parameter:
Code: Select all
<xsl:param name="profile.audience"/>
Code: Select all
<xsl:param name="profile.audience" select="'novice'"/>
http://www.oxygenxml.com/demo/DocBook_C ... ation.html
You could also register on the Docbook Apps Users list and ask for second opinions:
http://www.docbook.org/help
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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