Re: [xslt] XPath error

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:
   "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 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]