OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

Re: an xpath/xsl question: why must arguments be path expressions?




> The result of a literal parse of the xpath expression (from
> WD-xsl-19980818)

Why use such an early draft, which has a syntax completely different
from XPath 1.0 ?

> "list[attribute(ordered)='yes']/item[first-of-type()]"

That would be

 "list[attribute::ordered='yes']/item[1]"

in Xpath.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp