Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
xsd : defining array
Mag Wells
Ranch Hand
Posts: 38
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have an xml that looks like this -
<company> <employees> <employee><id>3</id><name>jhon</name><city>Denver</city></employee> <employee><id>4</id><name>james</name><city>Boulder</city></employee> <employee><id>33</id><name>jhonny</name><city>Miami</city></employee> <employee><id>22</id><name>ron</name><city>Louisville</city></employee> <employee><id>12</id><name>mark</name><city>Rockwell</city></employee> </employees> </company>
how do I define the element employees above ? I would start with defining employee element which would look like this
<complexType name="employee"> <sequence> <element name="id" type="string"></element> <element name="name" type="string"></element> <element name="city" type="string"></element> </sequence> </complexType>
but employees ???
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Converting an object into an XML
newbie question: ref or complex type ?
regarding xml syntax
wsimport command error --Undefined symbol or complex type
Inhertiting complex type in XML Schema
More...