Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forced enumeration of elements using schemas

Status
Not open for further replies.

cholas

Programmer
Jan 10, 2002
1
GB
Hi all,

I've got a list of assets, and each asset is available in different languages. My XML structure describing this looks something like:

<asset type="audio" id="asset001">
<resource language="English" source="asset001eng.mp3"/>
<resource language="French" source="asset001fre.mp3"/>
</asset>

Is it possible, using schemas, to inisist on one resource element appearing once per defined language, and that each resource element must have a different language type, and if so how do I go about achieveing this?

Thanks in advance

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top