XML

Overview

XML tree navigator for XML::Document / XML::Element trees produced by Qwiratry::Format::XML.

Adapts the community XML object model to Qwiratry's tree navigation protocol:

  • Document children are the root element.

  • Element children are the node's nodes list (elements, text, comments, and other node types).

  • String child selectors (< ⪪ <tag> >) match element names, not attribute keys.

  • Attributes are exposed separately via tree-attributes / tree-attribute-value (⥷).

Descendant walks (< ⪪⪪ >) are owned by the query evaluator; this navigator only supplies one-step shape operations.

supported-types()

tree-children

tree-child-results

String selectors follow element-child names (not attributes). Wildcards return every structural child, including text and comment nodes.

tree-attributes

tree-attribute-value

Qwiratry::Format::XML v0.0.1

XML format backend for Qwiratry using XML

Authors

    License

    Dependencies

    Test Dependencies

    Provides

    • Qwiratry::Format::XML
    • Qwiratry::Tree::Navigator::XML

    Documentation

    The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

    Built with Podlite — the markup and publishing tools behind this site.