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] Declaring datatypes for Attributes


Does anyone know?

Is it possible to declare a datatype for a set of attributes using:
 xmlns:dt="urn:schemas-microsoft-com:datatypes"
xmlns="urn:schemas-microsoft-com:xml-data"

I'm displaying and ordering the attributes, but they don't order numeric. I
know that datatypes can be set on element values, but what about attributes.
Do they inherit?


here is my xml, I need to declare ordeqty,price. ect.. as numbers

<root xmlns:dt="urn:schemas-microsoft-com:datatypes"
xmlns="urn:schemas-microsoft-com:xml-data">
	
	<position orderid="35874" orderdate="03/01/2001"  orderqty="200"
price="95.00" status="C" execqty="0" leaves="200" exectime="12:19:28:00"
execprice="0" />
	<position  orderid="35875" orderdate="03/01/2001"  orderqty="100"
price="104.25" status="R" execqty="0" leaves="100" exectime="12:19:28:00"
execprice="0" />
</root>

Regards,
Peter S. Tsantes

 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]