|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: EXSL <func:result> returning a node set
> > If one uses it like this: > > <xsl:value-of select="pcpfunc:ordered(/el1/el2/date)"/> > > it works correctly, but if you use it like this: > > <xsl:value-of select="pcpfunc:ordered(/el1/el2/date)[1]"/> > I think the function is returning a single node, the root node of a tree, and [1] has no effect when applied to a single node. You probably want pcpfunc:ordered(/el1/el2/date)/*[1] to select the first child of the root node. But I haven't checked the logic carefully, and it may depend on which processor you are using. Michael Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








