[xml] Re[3]: Welcome to xml

Date view Thread view Subject view Author view

From: Manuel Guesdon (mguesdon@oxymium.net)
Date: Sun Sep 10 2000 - 09:21:14 EDT


On Sat, 9 Sep 2000 19:25:56 +0200 Daniel Veillard wrote:

>| On Sat, Sep 09, 2000 at 05:25:41PM +0200, Manuel Guesdon wrote:
>| >
>| > So, is this userData is really a "user data" I can use as I want or is it a private variable I shouldn't change ? Or is there a problem in the code ?
>|
>| This field is an "user data" for the SAX interface. If you use your
>| own set of SAX callbacks, then you can initialize to whatever you want.
>| On the other hand libxml uses it when building a DOM tree so in that
>| case you should not change any value put there libxml would definitly
>| break if you do (the DOM tree building routines operate on top of the
>| SAX interface and are just the predefined default SAX handlers).

Thank you Daniel.
Could it be possible to have a userData useable for libxml users (and may be renaming userData to something like saxUserData so things will be easier to understand) ?

I'd like to have a useable userData to know the application context of the DOM tree building.

Manuel

--

---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Sep 10 2000 - 09:43:31 EDT