|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: DTD questions
>What I want to do is simple : > ><!ENTITY % test "(oneElem|theOther)"> ><!ELEMENT root %test;> > >I try with xerces, microsoft and xmlspy parser that all refuse this. I can't see anything wrong with that. (Provided it's not in the internal subset of course, but presumably it isn't, and your workaround would be just as wrong there.) What error message do you get? >But my real application is something like : ><![%isInclud;[ > <!ENTITY % test "(oneElem|theOther)"> >]]> ><!ENTITY % test "EMPTY"> ><!ELEMENT root %test;> If all else fails, you could have the parameter entity be the whole element declaration. -- Richard
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








