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="";>
>       <xsl:attribute name="href" select="{$filename}"/>
>       <xsl:attribute name="parse">text</xsl:attribute>
>     </xsl:element>


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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