How to resolve an entity reference in an attribute value

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I am able to resolve an entity declared in a DocumentType statement when it occurs in a text node by using the ResolveEntity method followed by Read(), but how to do that with an attribute? If I use
<span style="font-size:x-small MoveToNextAttribute() and then call ResolveEntity I get an exception. So at what point should it be called when parsing an attribute?



View the full article
 
Back
Top