Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse IDE - XML/XSD Editor Questions(XML/XSD Editor Template modifications)
Eclipse IDE - XML/XSD Editor Questions [message #1311057] Wed, 23 April 2014 15:19
Karthikeyan Rajendran is currently offline Karthikeyan RajendranFriend
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
Previous Topic:SSE Folding Strategies?
Next Topic:Loading DTD Files from Jars
Goto Forum:
  


Current Time: Thu Apr 25 10:49:59 GMT 2024

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

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

Back to the top