Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Creating XSDSchema from DOM Element
Creating XSDSchema from DOM Element [message #573962] Mon, 07 July 2003 18:22
Eclipse UserFriend
Originally posted by: cipher8000.yahoo.com

Hi,

I am looking for a way to create the XSDSchema from an DOM Element. For
example:

Here is my schema would look like:

<definitions name="FlowSample" targetNamespace="http://samples.cxdn.com"
xmlns:tns="http://samples.cxdn.com"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:s1="http://www.autoloan.com/ns/autoloan"
>
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://www.autoloan.com/ns/autoloan"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="LoanApplication">
<sequence>
<element name="SSN" type="string"/>
<element name="Email" type="string"/>
<element name="CustomerName" type="string"/>
<element name="LoanAmount" type="double"/>
<element name="CarModel" type="string"/>
<element name="CarYear" type="string"/>
<element name="CreditRating" type="int"/>
</sequence>
</complexType>
</schema>
</types>
....
</definitions>

I use WSDL4J's Types to extract the <schema> DOM Element and now i want to
construct
XSDSchema from that DOM Element.

Is there any util API for constructing XSDSchema from an Element?

-Muruga
Previous Topic:Help on Adding Identity Constraint to an element
Next Topic:Creating XSDSchema from DOM Element
Goto Forum:
  


Current Time: Tue May 07 17:34:29 GMT 2024

Powered by FUDForum. Page generated in 0.02989 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top