Skip to content
Sections
>> Trisquel >> Пакети >> etiona >> perl >> libxml-struct-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Източник: libxml-struct-perl  ]

Пакет: libxml-struct-perl (0.26-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 (>= 1)
    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 31,6 кБ80 кБ [списък на файловете]