Eclipse IDE - XML/XSD Editor Questions [message #1311057] |
Wed, 23 April 2014 15:19 |
Karthikeyan Rajendran Messages: 2 Registered: April 2014 |
Junior Member |
|
|
Am pretty new to Eclipse and XSDs. I have couple of questions
1. When I add an Element in Design view while creating an XSD, I need to have empty Closed Element rather than Non-Empty Closed element by Default. Any clue on where to change the setting in Eclipse to accomplish this?For example am getting the below source when I add an element in Design view
<xs:element name="NewElement" type="xs:string"></xs:element>
However I want it be like
<xs:element name="NewElement" type="xs:string" />
2. When I add multiple elements into a Type via Design view, the code is getting generated on the same line continuously without a line break. Am getting like this
<xs:complexType name="RootElementType"><xs:sequence><xs:element name="Element1" type="commonids:Element1Type" maxOccurs="1" minOccurs="0"></xs:element>
but I need it to be like
<xs:complexType name="RootElementType">
<xs:sequence>
<xs:element name="Element1" type="commonids:Element1Type" maxOccurs="1" minOccurs="0" />
I appreciate any help on the above.
Thanks
Karthik
|
|
|
Powered by
FUDForum. Page generated in 0.03160 seconds