OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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

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="@*"/>
[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.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
Sent: Friday, October 29, 2010 4:29 AM
Subject: [docbook-apps] HTML as in browser in print. output

Hello, list. Are there any convenient way to make elements from HTML namespace render as in HTML output, like normal browser's buttons, etc.?

Thanks a lot.

Kirill Churin
Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.

In a world without walls or fences, who needs windows and gates?

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]