![]() |
![]()
| ![]() |
![]()
NAMEXML::TinyXML::Selector - Tinyxml Selector base class SYNOPSISuse XML::TinyXML; use XML::TinyXML::Selector; # first obtain an xml context: $xml = XML::TinyXML->new("rootnode", param => "somevalue", attrs => { attr1 => "v1", attr2 => "v2" }); $selector = XML::TinyXML::Selector->new($xml, "XPath"); # create an xpath selector; my @attributes = $selector->select("attribute::*"); or my $attr2 = $selector->select("attribute::attr2"); # Check XML::TinyXML::Selector::XPath documentation for more xpath-specific examples DESCRIPTIONSelector base class INSTANCE VARIABLESMETHODS
SEE ALSOXML::TinyXML
AUTHORxant, <xant@cpan.org> COPYRIGHT AND LICENSECopyright (C) 2008-2010 by xant This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
|