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] xsl:copy-of Syntax Question


>> At a quick scan it looks like you are referring to no namespace
elements 
in your copy-of instruction, see 
<xsl:copy-of select="$foo-header/html/head/node()"/>

while your document contains elements with the same local name but in 
the http://www.w3.org/1999/xhtml namespace.

Therefore my suggestion will be to define the 
http://www.w3.org/1999/xhtml namespace in your stylesheet mapped for 
instance to the xhtml prefix and use that in your name tests in the 
XPath expression, like below:

<xsl:copy-of xmlns:xhtml="http://www.w3.org/1999/xhtml"; 
select="$foo-header/xhtml:html/xhtml:head/node()"/> <<


Works perfectly; many thanks.

Ray


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