In Xerces XML library I have the getUserData function.
Does anybody perhaps know what MS'es function (MSXML2) for this is called?
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData
Thanks a lot!
J�rgen Ullmann
> In Xerces XML library I have the getUserData function.
> Does anybody perhaps know what MS'es function (MSXML2) for this is called?
>
> http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData
MSXML is very much W3C DOM Level 1 Core/XML with proprietary extensions
like createNode or selectNodes/selectSingleNode to deal with namespaces.
I am not aware of way to attach user data to MSXML nodes.
If you move to the .NET world then LINQ to XML provides a way to
annotate LINQ to XML nodes/objects:
http://msdn.microsoft.com/en-us/library/system.xml.linq.xobject.addannotation.aspx
http://msdn.microsoft.com/en-us/library/system.xml.linq.xnode.annotation.aspx
I think that is similar to the W3C DOM Level 3 user data.
--
Martin Honnen --- MVP XML
http://msmvps.com/blogs/martin_honnen/
Martin Honnen schrieb: