[Home] [By Thread] [By Date] [Recent Entries]


>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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member