No DOCTYPE in HTML output of Docbook document
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
You have two solutions:
- use the DocBook stylesheet for XHTML output which generates a DOCTYPE declaration for XHTML 1.0 Transitional;
- create a simple customization layer for generating the desired DOCTYPE declaration. For example the following customization layer
generates the DOCTYPE delaration of a HTML 4.01 document.
Regards,
Sorin
You have two solutions:
- use the DocBook stylesheet for XHTML output which generates a DOCTYPE declaration for XHTML 1.0 Transitional;
- create a simple customization layer for generating the desired DOCTYPE declaration. For example the following customization layer
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="file:/C:/Program Files/Oxygen 6.2/frameworks/docbook/xsl/html/docbook.xsl"/>
<xsl:output doctype-public="-//W3C//DTD HTML 4.01//EN" doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>
</xsl:stylesheet>
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