[
Lists Home |
Date Index |
Thread Index
]
Karl Stubsjoen scripsit:
>
> Ahh... I see the confusion I may have caused.
>
> Infact, I used "id" as an arbitrary name for an attribute, not knowing there
> was a technical issue :O. However, I should have guessed this much (sorry
> ppl).
> Lets call "id" "partnum".
> So then <ITEM /> has an attribute called "partnum", like this:
> <ITEM partnum= />
> All ITEM tags will be unique based on the partnum value.
It isn't the attribute's name that's the issue, it's whether it meets the
XML 1.0 rules for being a unique identifier, namely it can only contain
letters and numbers and _ and - and ., and has to begin with a letter or _.
W3C XML Schema can handle less restrictive unique values.
--
John Cowan <jcowan@reutershealth.com>
http://www.ccil.org/~cowan http://www.reutershealth.com
Common Gaelic in Cyrillic script!
http://groups.yahoo.com/group/Celticonlang
|