Is there a way to suppress CSS element?
-
- Posts: 18
- Joined: Thu Aug 27, 2009 5:09 pm
Is there a way to suppress CSS element?
Post by scotmarvin »
I'm trying to generate a clean, simplified HTML output. I need to suppress any <link> element to a CSS. Ideally, I'd like to suppress any metadata too.
Is there anyway to do this? There doesn't seem to be.
Thanks,
Scot
Is there anyway to do this? There doesn't seem to be.
Thanks,
Scot
Re: Is there a way to suppress CSS element?
Hi Scott,
Oxygen uses the DITA Open Toolkit open source engine to generate various output formats from DITA content.
There is no special setting for this, you will need to modify the XSLT stylesheets used to produce the XHTML output.
This XSLT stylesheet:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\get-meta.xsl
is responsible for generating the meta tags in the XHTML output.
The link to the common CSS document is generated in the XSL:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl
So you could either modify these stylesheets or create your custom post-processing step to purify the resulted XHTML documents.
You should also consider registering on the Yahoo DITA Users List because it is a very good place where to ask output customization questions:
https://groups.yahoo.com/neo/groups/dita-users/info
Regards,
Radu
Oxygen uses the DITA Open Toolkit open source engine to generate various output formats from DITA content.
There is no special setting for this, you will need to modify the XSLT stylesheets used to produce the XHTML output.
This XSLT stylesheet:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\get-meta.xsl
is responsible for generating the meta tags in the XHTML output.
The link to the common CSS document is generated in the XSL:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl
So you could either modify these stylesheets or create your custom post-processing step to purify the resulted XHTML documents.
You should also consider registering on the Yahoo DITA Users List because it is a very good place where to ask output customization questions:
https://groups.yahoo.com/neo/groups/dita-users/info
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