Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getUserData

1 view
Skip to first unread message

Jürgen Ullmann

unread,
Oct 3, 2009, 4:12:01 PM10/3/09
to
Hello all!

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

Martin Honnen

unread,
Oct 4, 2009, 5:57:57 AM10/4/09
to
J�rgen Ullmann wrote:

> 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/

Jürgen Ullmann

unread,
Oct 4, 2009, 6:14:20 AM10/4/09
to

Thanks a lot!
:-((( I need to get this done in MSXML for now :-(((
Argh.


Martin Honnen schrieb:

0 new messages