xml.dom.minidom question
Alan Kennedy
alanmk at hotmail.com
Fri Oct 3 06:37:19 EDT 2003
Geiregat Jonas wrote:
>> What do you mean by normalization ?
Peter Hansen wrote:
> http://www.w3.org/TR/REC-xml#AVNormalize
Actually, Peter, that link has nothing to do with the normalization of
text nodes in a DOM, which was, I think, the "normalization" in
question.
The link you have provided gives detail on "attribute value
normalization", which is the normalization of whitespace in attribute
values, not DOM text nodes.
Of course, the normalization of test nodes in a DOM is a not a part of
the XML spec, it is a part of the DOM spec.
http://www.w3.org/TR/DOM-Level-2-Core/core.html
Check out the Node.normalize() method.
--
alan kennedy
-----------------------------------------------------
check http headers here: http://xhaus.com/headers
email alan: http://xhaus.com/mailto/alan
More information about the Python-list
mailing list