[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] General rule for designing XPath expressions to return items in document order?


Subject: Re: [xsl] General rule for designing XPath expressions to return items in document order?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Thu, 9 Jan 2014 10:51:53 +0000

Hello Martin,

I applied this XPath expression

	//head

to this XML document

<Document>
    <head>
        <head>B</head>
        A
    </head>
</Document>

using oXygen (where SAXON is the XPath processor) and got these results:

A
B

That is, the results are in non-document order.

/Roger


Current Thread
Keywords