[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Anothe question on entity referencing from within an attribut e
>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.
|
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
|