However, this wish is probably based on a flawed approach as the attributes
of the element, and its descendants and their attributes, are available as
and via properties in the document tree. By contrast, serialization of
element objects using the “outerHTML” property will rarely yield appropriate
results, as it will yield results that you have no control over (unless you
parse them again, but then why did you serialize in the first place?).
--
PointedEars
FAQ: <
http://PointedEars.de/faq> | SVN: <
http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <
http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.