XML (originally called Exemel) is a full fledged XML library for Perl 6.
It handles parsing, generating, manipulating and querying XML. It supports
element queries, parent element information, namespaces, and an extendable
interface.
It supports every major kind of XML Node (XML::Node):
- Document (XML::Document)
- Element (XML::Element)
- Text (XML::Text)
- Comment (XML::Comment)
- PI (XML::PI)
- CDATA (XML::CDATA)
You can easily serialize the objects back to XML text by using any XML::Node
object in a string context.