DOM: notations and unparsed entities

John Cowan cowan at
Sun Mar 28 06:34:51 BST 1999

Ronald Bourret scripsit:

> 1) How do I determine if an attribute's value is a notation or unparsed 
> entity?  In the case of an unparsed entity, I'm guessing that the Attr node 
> has an EntityReference child (is this true?). Notations have me stumped.

You can't tell.  And no, the value of a NOTATION attribute is a string,
not an entity reference (which is used only when you have actual &...;
markup).  The DOM conceals the XML type of attributes, at least at
level 1.

> 2) Is there a general DOM mailing list?  The only one I could find was 
> www-dom at, which I assumed was for spec comments, not questions like 
> this.

It's for all DOM talk, including spec comments.

John Cowan					cowan at
		e'osai ko sarji la lojban.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list