Hi,
The DocBook stylesheets have templates that match on DocBook elements.  The 
template for the entry element does an xsl:apply-templates on its children, but 
html:input is not a DocBook element.  That's why you get that message. It is 
warning you that there is no template to handle that input.

I presume you just want to copy through any elements in the html namespace.  If 
that is the case, then adding a template like this should be sufficient:

<xsl:template match="html:*">
  <xsl:copy>
    <xsl:copy-of select="@*"/>
    <xsl:apply-templates/>
  </xsl:copy>
</xsl:template>

And be sure to add the html namespace declaration to your stylesheet.

Bob Stayton
Sagehill Enterprises
[email protected]


  ----- Original Message ----- 
  From: reflexing 
  To: [email protected] 
  Sent: Thursday, September 30, 2010 6:14 AM
  Subject: [docbook-apps] HTML elements in DocBook


  Hello, list.


  I'm experiencing strange issues with HTML elements in html namespace. 
xsltproc shows this error:


    Element input in namespace 'http://www.w3.org/1999/xhtml' encountered in 
entry, but no template matches.


  while processing following code:


    <entry><html:input type="button" xmlns:html="http://www.w3.org/1999/xhtml"; 
/></entry>


  I think something's wrong in my customization layer. Any suggestions?


  Translated using DocBook XSL 1.75.2 / 1.76.00
  # xsltproc --version
  Using libxml 20707, libxslt 10126 and libexslt 815
  xsltproc was compiled against libxml 20704, libxslt 10126 and libexslt 815
  libxslt 10126 was compiled against libxml 20704
  libexslt 815 was compiled against libxml 20704


  -- 
  Kirill E. Churin
  Jabber: [email protected], ICQ: 8163230, Skype on demand.


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

Reply via email to