Re: [xslt] Xpath on variables?



Bernhard Zwischenbrugger wrote:

>>  then this is a bug, can you provide a complete styesheet so I debug this
>>quickly ?
>>
>>
> 
> ---------------begin--------------------
> <?xml version="1.0"  encoding="iso-8859-1"?>
> <!-- author: Bernhard Zwischenbrugger -->
> <xsl:stylesheet
>         version="1.0"
>         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>         xmlns:libxslt="http://xmlsoft.org/XSLT/namespace">



Is this the same namespace as http://exslt.org/common,
which I was assuming, the extension in libexslt came from?

Or is node-set as well in libxslt internally as extension as
well as in libexslt?



>         ------- this works fine --------
>         <xsl:copy-of select="$foo"/>
>         ------- this does not work ------
>         <xsl:copy-of select="libxslt:node-set($foo)//BAR"/>
>         ------- this also does not work ----
>         <xsl:copy-of select="$foo//BAR"/>

Does this one work:
		

	<xsl:copy-of select="libxslt:node-set($foo)"/>


What error do you get?






-- 
Heiko W. Rupp
Project Management
WiredMinds Informationssysteme GmbH
Wilhelmsplatz 11
D-70182 Stuttgart

Email: Heiko.Rupp@WiredMinds.de
Phone: +49 711 49048-232
Fax:   +49 711 49048-111





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