OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.