Re: What would you like to see in XML::LibXML ?
Michael Ludwig <[email protected]> Thu, 2 Feb 2012 23:10:35 +0100
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <20120202221034.GK4240@Dago> |
Aaron Crane schrieb am 02.02.2012 um 11:48 (+0000): > Michael Ludwig wrote: > > Aaron Crane schrieb am 29.01.2012 um 14:49 (+0000): > >> I'd particularly value the ability to annotate a node with a > >> Perl scalar, and retrieve that scalar later > > > > Could you briefly explain what such annotations are good for? > Currently, the only way to cache data like that with XML::LibXML > is to use attributes in an element node, and find an attribute > name that wouldn't otherwise have any effect. Being able to > annotate non-element nodes would help in some circumstances, > and being able to use extra-DOM data would help in others. Thanks. Have never done any processing like that. Maybe you could also clone interesting nodes in custom node lists. But I haven't tried that either, and it might consume more memory. -- Michael Ludwig _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs