Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Setting Conditions based on attribute values in XML schemas

Thread Tools

Setting Conditions based on attribute values in XML schemas

Abdul Mukit
Posts: n/a

I am a newbie to writing XML schemas. I was wondering if there is a
way of defining what child elements must be present on a parent
element based on the value of one of its attributes.

Also is there a way of defining attributes that must be present based
on the value of mandatory attribute?

Any help will be much appreciated
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can xml schemas from a dataset be used to validate standard xml files? Andy B ASP .Net 0 08-06-2008 11:42 PM
XML schema validation of one xml block based on values from another xml block Andy XML 0 11-18-2004 11:04 PM
How can I compare data held in docs based on different schemas? Neil XML 1 11-14-2004 07:01 PM
Question about attribute inheritence in XML Schemas using <xsd:extension> Sean Bright XML 2 12-17-2003 11:51 PM
Help on including one XML document within another XML document using XML Schemas Tony Prichard XML 0 12-12-2003 03:18 PM