Re: [xslt] XPath error
- From: Daniel Veillard <veillard redhat com>
- To: Dharm Baval <drm_xslt yahoo com>
- Cc: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] XPath error
- Date: Sun, 31 Oct 2004 07:14:55 -0500
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]