XML::SAX::Builder

Build XML documents using SAX
Download

XML::SAX::Builder Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dominic Mitchell
  • Publisher web site:
  • http://search.cpan.org/~semantico/

XML::SAX::Builder Tags


XML::SAX::Builder Description

Build XML documents using SAX XML::SAX::Builder is a Perl module that offers a set of classes to allow easy construction of XML documents, in particular in association with an XML::SAX pipeline. The default is to output the XML to stdout, although this is easily changed.SYNOPSIS my $x = XML::SAX::Builder->new; $x->xml( $x->foo( 'bar' ) ); # Produces: # < foo >bar< /foo > $x->xml( $x->foo( { id => 1 }, 'bar' ) ); # Produces: # < foo id='1' >bar< /foo > $x->xml( $x->foo( $x->bar(1), 'middle', $x->baz ) ); # Produces: # < foo >< bar >1< /bar >middle< baz / >< /foo > $x->xml( $x->xmlns( '' => 'urn:foo', $x->foo( 'bar' ) ) ); # Produces: # < foo xmlns='urn:foo '>bar< /foo > my $pfx = $x->xmlprefix( 'pfx' ); $x->xml( $x->xmlns( foo => 'urn:foo', $pfx->foo( 'bar' ) ) ); # Produces: # < pfx:foo xmlns:pfx='urn:foo' >bar< /pfx:foo > Requirements: · Perl


XML::SAX::Builder Related Software