Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libxml-struct-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libxml-struct-perl  ]

软件包: libxml-struct-perl (0.27-1)

represent XML as data structure preserving element order

XML::Struct implements a mapping between XML and Perl data structures. By default, the mapping preserves element order, so it also suits for "document-oriented" XML. In short, an XML element is represented as array reference with three parts:

  [ $name => \%attributes, \@children ]

This data structure corresponds to the abstract data model of MicroXML <http://www.w3.org/community/microxml/>, a simplified subset of XML.

If your XML documents don't contain relevant attributes, you can also choose to map to this format:

  [ $name => \@children ]

Both parsing (with XML::Struct::Reader or function readXML) and serializing (with XML::Struct::Writer or function writeXML) are fully based on XML::LibXML, so performance is better than XML::Simple and similar to XML::LibXML::Simple.

其他与 libxml-struct-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libmoo-perl
    Minimalist Object Orientation library (with Moose compatibility)
  • dep: libxml-libxml-perl
    Perl interface to the libxml2 library
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libxml-struct-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 32.2 kB76 kB [文件列表]