Re: [xslt] xinclude within XSL



On Wed, Oct 12, 2005 at 10:42:41PM +0200, nico wrote:
> Hello,
> 
> I'm trying to do something that doesn't work, and I guess that xsltproc  
> does the right thing, but I'm interesting in having some explanations why  
> it cannot work.

  Because there is no parsing of an xi:include involved. It's not recognized
and the code to implement XInclude on the tree is not called.

>     <xsl:element name="xi:include"
>                  namespace="http://www.w3.org/2001/XInclude";>
>       <xsl:attribute name="href" select="{$filename}"/>
>       <xsl:attribute name="parse">text</xsl:attribute>
>     </xsl:element>

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]