Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Embedded elements
Embedded elements [message #597896] Mon, 10 April 2006 20:08
Guillaume Windels is currently offline Guillaume WindelsFriend
Messages: 29
Registered: July 2009
Junior Member
I am trying to build a XML Schema to then being able to generate a XML
file that would look like this:

<root>

<process>
<input>
<data>blah</data>
</input>

<output>
<data>bloh</data>
</output>


<process>
<output>
<data>blah</data>
</output>
</process>
</process>



</root>

As you can see, a <process> produces <output>s, uses <input>, and can
contain itself. My question is, how can we render, in XSD, the fact that
a <data> can be reused in two different objects?

Cheers -
Previous Topic:Find out the root element
Next Topic:Embedded elements
Goto Forum:
  


Current Time: Wed Apr 24 18:58:21 GMT 2024

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

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

Back to the top