You are giving mixed messages here.
It seems you "figured it out"
but I just get an extra call for attention, a
Anyway, maybe I have some advice, I would definitely share
It usually is not a good idea to name your sequence of traks with different names
<tracknumber1...
<tracknumber2...
this is limiting, makes your schema unnecesarily complex and makes writing the XML tyring.
I recommend that you use this style, using attributes
<track number="1">...
unless you really need to validate the sequence using a DTD
(you could always check whether the numbering is right using schematron in a second validation step), www.Schematron.com
secondly you can only force fixed text enumerations in an attribute, not in an element (at least not with DTD, you can, with w3c schema)
I recommend an attribute here as well
<price available="in_stock">$10.99
I have attached a new proposal for your DTD
the original question: use a + as occurence indicator on track
Main Topics
Browse All Topics





by: greta13Posted on 2009-11-02 at 22:28:09ID: 25726462
I just figured it out ...thanks