~ubuntu-branches/ubuntu/lucid/libxml-libxml-perl/lucid

« back to all changes in this revision

Viewing changes to lib/XML/LibXML/Attr.pod

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2009-05-31 14:36:13 UTC
  • mfrom: (4.1.7 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090531143613-xxpnwmrz62kwtejq
Tags: 1.69.ds-2
* Remove Florian Ragwitz from Uploaders (closes: #523275).
* Set Standards-Version to 3.8.1 (no changes).
* Remove duplicate fields from debian/control.
* Minimize debian/rules, bump quilt and debhelper build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
=head1 METHODS
29
29
 
30
 
The class inherits from L<<<<<< Abstract Base Class of XML::LibXML Nodes|Abstract Base Class of XML::LibXML Nodes >>>>>>. The documentation for Inherited methods is not listed here. 
 
30
The class inherits from L<<<<<< XML::LibXML::Node >>>>>>. The documentation for Inherited methods is not listed here. 
31
31
 
32
 
Many functions listed here are extensively documented in the L<<<<<< DOM Level 3 specification|http://www.w3.org/TR/DOM-Level-3-Core/ >>>>>>. Please refer to the specification for extensive documentation. 
 
32
Many functions listed here are extensively documented in the DOM Level 3 specification (L<<<<<< http://www.w3.org/TR/DOM-Level-3-Core/ >>>>>>). Please refer to the specification for extensive documentation. 
33
33
 
34
34
=over 4
35
35
 
36
 
=item B<new>
 
36
=item new
37
37
 
38
38
  $attr = XML::LibXML::Attr->new($name [,$value]);
39
39
 
40
 
Class constructor. If you need to work with ISO encoded strings, you should I<<<<<< always >>>>>> use the C<<<<<< createAttrbute >>>>>> of L<<<<<< XML::LibXML DOM Document Class|XML::LibXML DOM Document Class >>>>>>.
41
 
 
42
 
 
43
 
=item B<getValue>
 
40
Class constructor. If you need to work with ISO encoded strings, you should I<<<<<< always >>>>>> use the C<<<<<< createAttrbute >>>>>> of L<<<<<< XML::LibXML::Document >>>>>>.
 
41
 
 
42
 
 
43
=item getValue
44
44
 
45
45
  $string = $attr->getValue();
46
46
 
48
48
has no value, which is different of being C<<<<<< not specified >>>>>>.
49
49
 
50
50
 
51
 
=item B<value>
 
51
=item value
52
52
 
53
53
  $string = $attr->value;
54
54
 
55
55
Alias for I<<<<<< getValue() >>>>>>
56
56
 
57
57
 
58
 
=item B<setValue>
 
58
=item setValue
59
59
 
60
60
  $attr->setValue( $string );
61
61
 
64
64
might be done incorrectly.
65
65
 
66
66
 
67
 
=item B<getOwnerElement>
 
67
=item getOwnerElement
68
68
 
69
69
  $node = $attr->getOwnerElement();
70
70
 
72
72
node, undef will be returned. Overwriting the underlying implementation, the I<<<<<< parentNode >>>>>> function will return undef, instead of the owner element.
73
73
 
74
74
 
75
 
=item B<setNamespace>
 
75
=item setNamespace
76
76
 
77
77
  $attr->setNamespace($nsURI, $prefix);
78
78
 
87
87
This function returns 1 on success, 0 otherwise. 
88
88
 
89
89
 
90
 
=item B<isId>
 
90
=item isId
91
91
 
92
92
  $bool = $attr->isId;
93
93
 
97
97
In XML documents, all "xml:id" attributes are considered to be of type ID. 
98
98
 
99
99
 
100
 
=item B<serializeContent($docencoding)>
 
100
=item serializeContent($docencoding)
101
101
 
102
102
  $string = $attr->serializeContent;
103
103