Re: [xslt] XPath error



Hi,

 I believe that the older version of the xslt was
supporting this. If you let me know the version number
that will be greatful.

Dharm
--- Daniel Veillard <veillard redhat com> wrote:

> On Sat, Oct 30, 2004 at 06:42:17AM -0700, Dharm
> Baval wrote:
> > Hi,
> > 
> > The error is at the line given below:
> > 
> > <xsl:variable name="staff_table"
> > select="$myInfo/myinfo/myname/@display" />
> > 
> > Please let me know where the problem is.
> 
>   The problem is that you don't know XSLT:
>   
>
http://www.w3.org/TR/xslt#section-Result-Tree-Fragments
>    "A result tree fragment is treated equivalently
> to a node-set that
>     contains just a single root node. However, the
> operations permitted on
>     a result tree fragment are a subset of those
> permitted on a node-set."
> 
> C.f. the exslt:node-set extension.
> 
> 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/
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


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