RE: Are entities containing mark-up allowed in attribute values?
Rob Lugt wrote: > Are entities containing mark-up allowed in attribute values? By my reading of the spec, if the entity is internal, parsed and general, yes. The replacement text must be well-formed. Such attribute values can still break the well-formedness of the document if the replacement text contains, for example, a quote that could be confused for the closing quote around the attribute value. XML Rec sections 4.3.2, 4.4 (the table is helpful) and 4.4.5 are relevant. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/
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