GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XML::TinyXML::NodeAttribute(3) User Contributed Perl Documentation XML::TinyXML::NodeAttribute(3)

XML::TinyXML::Node - Tinyxml Node object

  use XML::TinyXML::Node;

  $node = XML::TinyXML::Node->new("child", "somevalue", { attribute => "value" });

  $attr = $node->getAttribute("attribute");
  or
  $attr = $node->getAttribute(1); # attribute at index 1
  or
  @attrs = $node->getAttributes(); # returns all attributes in the node

Node representation for the TinyXML API

_attr

Reference to the underlying XmlNodeAttributePtr object (which is a binding to the XmlNode C structure)

new ($attr)
Wrap the XmlNodeAttributePtr C structure exposing accessor to its members
name ([$newName])
Get/Set the name of the attribute
value ([$newValue])
Get/Set the value of the attribute
node (])
Get the XML::TinyXML::Node to which this attribute belongs
path ()
Returns the unique path identifying this attribute

(can be used in xpath expressions)

type ()
Returns the type of this node

(at the moment it will return always the string : "ATTRIBUTE" which can be used to distinguish attribute-nodes from xml-nodes in @sets returned by xpath selections)

XML::TinyXML::Node XML::TinyXML

xant, <xant@cpan.org>

Copyright (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.

2013-09-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.