Re: libxml2 application data

Petr Pajas <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
No, XML::LibXML uses the _private slot for its own purposes. I'd 
suggest using a Perl hash and $$node as key ($$node is an integer 
that uniquely identifies a libxml2's node).

-- Petr

On ne 21. prosince 2008, philippe marguinaud wrote:
> Hi all,
>
> I have written C programs using libxml2 and used to attach
> application data to xml nodes using the _private field of node
> structs. I would like to know whether it is possible to do that
> using the Perl bindings; I have not seen anything like that in
> the pod documentation.
>
> Regards,
>
> Philippe
>
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows
> Live Spaces. It's easy!
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/fr
>iends.aspx&mkt=en-us


_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.