Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: XML schema for ordinal/nominal variables

From: noah_mendelsohn@--.---.---
To: "Christian Setzkorn" <christian@--------.-->
Date: 9/5/2006 10:53:00 AM
Christian Setzkorn writes:

> PS: I didn't really understand why you use <bob></bob> instead 
> of <gender></gender> ... later I would like to use this simple 
> type in complex types with complex content model.

No important reason.  I had to make some arbitrary assumptions about your 
example, and I guessed wrong.  So, I was guessing you might have:

<genders>
        <bob>1</bob>
        <mary>0</mary>
</genders>

but I can see where it's more likely that you'd have:

<person name="bob" gender="1"/>

or 

<person>
        <name>Bob</name>
        <gender>1</gender>
</person>

I think my answer on the type works in any case.

> Many thanks for this. It is exactly what I want.

Terrific.  I'm very glad to help.

Noah



--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------





From petexmldev@t... Tue Sep 05 20:28:23 2006
Received: from aji.w3.org ([133.27


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent