Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    XML::Output 0.03

    Download button

    No screenshots available
    Downloads: 498  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Brendt Wohlberg | More programs
    GPL / FREE
    September 8th, 2006, 04:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    XML::Output description

    XML::Output is a Perl module for writing simple XML documents.

    XML::Output is a Perl module for writing simple XML documents.

    SYNOPSIS

    use XML::Output;

    open(FH,'>file.xml');
    my $xo = new XML::Output({'fh' => *FH});
    $xo->open('tagname', {'attrname' => 'attrval'});
    $xo->pcdata('element content');
    $xo->close();
    close(FH);

    ABSTRACT

    XML::Output is a Perl module for writing simple XML documents

    XML::Output is a Perl module for writing simple XML document. The following methods are provided.

    new
    $xo = new XML::Output;
    Constructs a new XML::Output object.

    open
    $xo->open('tagname', {'attrname' => 'attrval'});
    Open an element with specified name (and optional attributes)

    close
    $xo->close;
    Close an element

    empty
    $xo->empty('tagname', {'attrname' => 'attrval'});
    Insert an empty element with specified name (and optional attributes)

    pcdata
    $xo->pcdata('element content');
    Insert text

    comment
    $xo->comment('comment text');
    Insert a comment

    xmlstr
    print $xo->xmlstr;
    Get a string representation of the constructed document

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    writing XML | XML document | Perl module | XML::Output | writing | XML

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM