Home > Repositories > base > perl-XML-DOM

perl-XML-DOM: XML::DOM - A perl module for building DOM Level 1 compliant document structures

This module extends the XML::Parser module by Clark Cooper.
The XML::Parser module is built on top of XML::Parser::Expat, which is a lower level interface to James Clark's expat library.

XML::DOM::Parser is derived from XML::Parser.
It parses XML strings or files and builds a data structure that conforms to the API of the Document Object Model as described at http://www.w3.org/TR/REC-DOM-Level-1.
See the XML::Parser manpage for other available features of the XML::DOM::Parser class. Note that the 'Style' property should not be used (it is set internally.)

The XML::Parser NoExpand option is more or less supported, in that it will generate EntityReference objects whenever an entity reference is encountered in character data.
I'm not sure how useful this is. Any comments are welcome.

As described in the synopsis, when you create an XML::DOM::Parser object, the parse and parsefile methods create an XML::DOM::Document object from the specified input.
This Document object can then be examined, modified and written back out to a file or converted to a string.

When using XML::DOM with XML::Parser version 2.19 and up, setting the XML::DOM::Parser option KeepCDATA to 1 will store CDATASections in CDATASection nodes, instead of converting them to Text nodes.
Subsequent CDATASection nodes will be merged into one. Let me know if this is a problem.

When using XML::Parser 2.27 and above, you can suppress expansion of parameter entity references (e.g. %pent;) in the DTD, by setting ParseParamEnt to 1 and ExpandParamEnt to 0. See Hidden Nodes for details.

A Document has a tree structure consisting of Node objects.
A Node may contain other nodes, depending on its type.
A Document may have Element, Text, Comment, and CDATASection nodes.
Element nodes may have Attr, Element, Text, Comment, and CDATASection nodes.
The other nodes may not have any child nodes.

This module adds several node types that are not part of the DOM spec (yet.) These are: ElementDecl (for declarations), AttlistDecl (for declarations), XMLDecl (for declarations) and AttDef (for attribute definitions in an AttlistDecl.)
Name:perl-XML-DOM
Release: 1.46-2mamba
Group:System/Libraries/Perl
Maintainer:silvan
License:Artistic, GPL
Size:131.35 kB
Upstream URL:https://www.cpan.org/
Build time:2023-04-18 00:21:31
Binary packages and requirements
x86_64aarch64i586
Built RPMSperl-XML-DOM
perl-XML-DOM
perl-XML-DOM
Build requirementsperl[>=2:5.36.0] [1]
perl-XML-RegExp [1]
perl-devel [1]
perl-libwww [1]
perl-libxml [1]
perl[>=2:5.36.0] [1]
perl-XML-RegExp [1]
perl-devel [1]
perl-libwww [1]
perl-libxml [1]
perl[>=2:5.36.0] [1]
perl-XML-RegExp [1]
perl-devel [1]
perl-libwww [1]
perl-libxml [1]
History of changes
DatePackagerReleaseDescription
2023-04-18Sdk Build System 1.46-2mamba- rebuilt with perl 5.36.0
2017-10-22autodist1.46-1mamba- automatic update by autodist
2015-09-23autodist1.45-1mamba- automatic update by autodist
2012-11-13silvan1.44-4mamba- perl 5.16 mass rebuild
2008-11-05silvan1.44-3mamba- automatic rebuild by autodist
2008-10-14silvan1.44-2mamba- rebuilt
2006-07-25stefano1.44-1qilnx- upgrade to version 1.44 by autospec
2004-10-27davide1.43-3qilnx- added missing build requirement: perl-libxml
2004-10-26Alessandro Ramazzina 1.43-2qilnx- rebuilt and moved from devel-contrib to devel repository
2004-09-14Matteo Bernasconi 1.43-1qilnx- first build