ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Inherited attribute value
by Michel Rodriguez other posts by this author
Jul 27 2000 5:00AM messages near this date
view in the new Beta List Site
make test Failing for libxml-enno-1.02 ... | Re: XML::Twig '0' PCDATA erased?
I was thinking of adding a method to make it easy to inherit an attribute
value in XML::Twig:

$inherited_value= $elt-> inherit_att( <att>, <tag1>, <tag2>,...);

where <tag1> , <tag2>... are a list of ancestors to get the attribute
from, with no tag specified meaning "get it from any element"

Does this make sense?

Michel Rodriguez
m.v.rodriguez@[...].org
http://www.xmltwig.cx

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved