This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
[XSL] Declaring datatypes for Attributes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] [XSL] Declaring datatypes for Attributes
- From: Peter Tsantes <PTsantes at Tradescape dot com>
- Date: Wed, 9 May 2001 13:47:26 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
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