This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xsl:sort default



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]