New tag elements in PDF output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 10
- Joined: Thu Jun 08, 2017 2:32 pm
New tag elements in PDF output
Post by tapo4ek999 »
Hi!
I`ve created new .ent and .mod file with my custom tag element (<kword>) to be used inside <codeblock> element. Then I've connected .mod and .ent files to topic.dtd file. Parameters of new tag elements (font-style, color etc) was declared in skin.css during webhelp publishing. Everything was ok.
But now I need to publish my ditamap also in PDF using default Apache-FOM. I type following text inside my custom.xsl:
But after publishing my <kword> element does not became red-colored. Changing design of standart elements with custom.xsl works fine. Could you tell where I might be wrong?
Thanks!
I`ve created new .ent and .mod file with my custom tag element (<kword>) to be used inside <codeblock> element. Then I've connected .mod and .ent files to topic.dtd file. Parameters of new tag elements (font-style, color etc) was declared in skin.css during webhelp publishing. Everything was ok.
But now I need to publish my ditamap also in PDF using default Apache-FOM. I type following text inside my custom.xsl:
Code: Select all
<xsl:template match="*[contains(@class,' topic/kword ')]">
<fo:inline xsl:use-attribute-sets="kword">
<xsl:call-template name="commonattributes"/>
<xsl:apply-templates/>
</fo:inline>
</xsl:template>
<xsl:attribute-set name="kword">
<xsl:attribute name="color">red</xsl:attribute>
</xsl:attribute-set>
Thanks!
Re: New tag elements in PDF output
Hi,
What you are saying looks OK, there is probably a problem either in the way in which you made your DTD specialization (did you create a new public ID for your topic types?) or in your PDF customization.
If you want us to help further I would need your entire DTD specialization, steps to install it + your entire PDF customization.
You can contact us via our tech support form:
https://www.oxygenxml.com/techSupport.html
Regards,
Radu
What you are saying looks OK, there is probably a problem either in the way in which you made your DTD specialization (did you create a new public ID for your topic types?) or in your PDF customization.
If you want us to help further I would need your entire DTD specialization, steps to install it + your entire PDF customization.
You can contact us via our tech support form:
https://www.oxygenxml.com/techSupport.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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