[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] HTML as in browser in print. output
Hi,
If you are looking to insert HTML from external
files, this section in my book describes some options:
If you are looking to embed elements in the xhtml
namespace in your DocBook source document, there is currently no support in the
DocBook XSL stylesheets for that. To output to HTML, you could add a
template like this to your customization layer to copy it out:
<xsl:template match="xhtml:*">
<xsl:element name="{local-name()}"> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:element> </xsl:template> [be sure to add the namespace declaration to your
stylesheet and documents].
For print output, you would need to create custom
templates to convert HTML elements to XSL-FO elements. Perhaps there
exists XSL out there to do that, otherwise that would be a bit of
work.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]