[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Anothe question on entity referencing from within an attribut e
- From: "DuCharme, Bob (LNG)" <bob.ducharme@lexisnexis.com>
- To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
- Date: Fri, 31 Aug 2001 11:29:19 -0400
>I have another question on entity referencing being referenced from within
>an attribute:
>
>For eg: in the DTD, name is defined as follows:
>
>!ENTITY name "<a><b>cool</b></a>"
>
>In my xml file I have the following
>
><root>
><this>charlie="very&name;too"
></root>
Assuming you mean <this charlie="very&name;too"/>, you can't, because then
the document isn't well-formed. See
http://www.w3.org/TR/REC-xml.html#CleanAttrVals.
Bob DuCharme www.snee.com/bob <bob@
snee.com> see http://www.snee.com/bob/xsltquickly for
info on new book "XSLT Quickly" from Manning Publications.