IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: seribop
About
User Name: seribop
Forum Rank: Newbie
Real Name:
Location Illinois
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Thursday, September 3, 2009
Last Visit: Friday, September 4, 2009 5:37:46 PM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: restriction on attribute value
Posted: Friday, September 4, 2009 5:37:46 PM
Thanks for the reply. But, that just makes a list of possible values for the attribute with an enumeration restriction. I need to force the values for the attribute values. I need <Object> to have a <String name="firmware-revision"/> and <String name="database-revision"/>.
Topic: restriction on attribute value
Posted: Thursday, September 3, 2009 2:07:31 PM
Hello,
I would like to make a schema that allows the same element name with different fixed attribute values. Sample xml:
<List>
<Object>
<String name="firmware-revision" value="b"/>
<String name="database-revision" value="10"/>
</Object>
<Object>
<String name="firmware-revision" value="f"/>
<String name="database-revision" value="50"/>
</Object>
</List>

I am having trouble making a "String" element have different fixed "name" attribute values, "firwmare-revision" and "database-revision".

I would appreciate any hints.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.