How to get element attributes with XSOM

  • From: <chenjiaojuan@...>
  • To: "users" <users@...>
  • Subject: How to get element attributes with XSOM
  • Date: Wed, 14 Nov 2012 12:45:38 +0800

 Hi, I'm new to XSOM, and now I have a question. When I parse an xml schema using XSOM, and the schema has some element like<element name="hello" minOccurs="0" maxOccurs="unbounded" type="string">, how can I get the attribute value, such as "unbounded" in the case of attribute maxOccurs of this element, using XSComponent/XSElementDecl, it seemed that those two models have no that kind of information I need.

Any help/advices are appreciated.

Regards,

sjtuchan



How to get element attributes with XSOM

chenjiaojuan 11/14/2012
Terms of Use; Privacy Policy; Copyright ©2013-2017 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close