Re: non empty element as choice of (newbie) v2

wxdqz

New Member
ok, a new explanation of the problem:ist it possible to declare an element, where the content may only be one ofa list of special chars?i tried<!ENTITY % DOT "."><!ENTITY % COMMA ","><!ENTITY % MINUS "-"><!ELEMENT interpunction (%DOT; | %COMMA; | %MINUS; )>but this doesn't work. i think i have to prevent the entities from beingparsed inside the element declaration.the complete document is <!-- m --><a class="postlink" href="underhttp://goe.net/~chohman/text.xml">underhttp://goe.net/~chohman/text.xml</a><!-- m --> (dtd internal)andhttp://goe.net/~chohman/text2.xml (external dtd).hope somebody can help me to get this dtd working.--mfgCarsten <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
 
Back
Top