xsl:sort default

Subject: xsl:sort default
From: John Robert Gardner <jrgardn@xxxxxxxxx>
Date: Sun, 2 Jul 2000 16:42:03 -0400 (EDT)
Supposing I had:
	<town name="mytown">
		<street>1st</street>
		<street>Second</street>
		<street>Third</street>
		<street>4th</street>
	</town>

If I ran a sort on the self::text() node of each street (e.g., xsl:sort
select="street::text()"), would I get an order of:

1st
4th
Second
Third

>From all processors?  Cf. Section 10 of the spec . . . I wasn't sure if,
in default ascending mode for xsl:sort what happens with mixed numbers and
text when "data-type" is not declared.

Thanks,
jr

=-=-=-=-=-=-=-=-=-=-=-=-=-
John Robert Gardner, Ph.D.
XML Engineer
---------------------------------------------------------------
http://vedavid.org/diss/
http://vedavid.org/xml/
			You already have zero privacy --
			Get over it.
						-Scott McNeally


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xsl:sort default
    • John Robert Gardner - Sun, 2 Jul 2000 16:42:03 -0400 (EDT) <=