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

[xsl] Getting the data type of an element


Subject: [xsl] Getting the data type of an element
From: "Anderson, Rick A" <RA135334@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Jan 2004 19:33:22 -0500

Hi,
I want to be able to convert the "true" and "false" strings to "1" and "0",
respectively, when I get the value of a boolean type element. However, I
want to be sure the XSD schema has defined the element as type boolean, and
it is not just a string element with the value "true". I think I need to
know the data type of an element, but I cannot find a MSXML4 property or
method that returns this type information, using the schema.

Does anyone know how I can do it?
Thanks.

Richard A. Anderson, NCR Corporation
(519) 884-1710 X5543
(519) 884-0610 (fax)



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



Current Thread
Keywords
xsd