Linux SoftwareProgrammingLibrariesXML::ValidWriter 0.39

XML::ValidWriter 0.39


XML::ValidWriter is DOCTYPE driven valid XML output. SYNOPSIS ## As a normal perl object: $writer = XML::ValidWriter->ne
Developer:   Barrie Slaymaker
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   27K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


XML::ValidWriter is DOCTYPE driven valid XML output.

SYNOPSIS

## As a normal perl object:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => *FH
) ;
$writer->startTag( 'b1' ) ;
$writer->startTag( 'c2' ) ;
$writer->end ;

## Writing to a scalar:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => $buf
) ;

## Or, in scripting mode:
use XML::Doctype NAME => a, SYSTEM_ID => 'a.dtd' ;
use XML::ValidWriter qw( :all :dtd_tags ) ;
b1 ; # Emits < a >< b1 >
c2( attr=>"val" ) ; # Emits < /b1 >< b2 >< c2 attr="val" >
endAllTags ; # Emits < /c2 >< /b2 >< /a >

## If you've got an XML::Doctype object handy:
use XML::ValidWriter qw( :dtd_tags ), DOCTYPE => $doctype ;

## If you've saved a preparsed DTD as a perl module
use FooML::Doctype::v1_0001 ;
use XML::ValidWriter qw( :dtd_tags ) ;

#
# This all assumes that the DTD contains:
#
# < !ELEMENT a ( b1, b2?, b3* ) >
#
# < !ELEMENT b1 ( c1 ) >
# < !ELEMENT b2 ( c2 ) >
#

STATUS

Alpha. Use and patch, don't depend on things not changing drastically.
Many methods supplied by XML::Writer are not yet supplied here.

Requirements:
  • Perl
    tags xml validwriter  use xml  dtd tags  writer starttag  xml doctype  attr val  type output  doc type  writer xml  validwriter new  new doctype  doctype xml  xml doc  

    Download XML::ValidWriter 0.39


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/R/RB/RBS/XML-AutoWriter-0.39.tar.gz


    Authors software

    XML::ValidWriter 0.39 (by Barrie Slaymaker)
    XML::ValidWriter is DOCTYPE driven valid XML output.

    SYNOPSIS

    ## As a normal perl object:
    $writer = XML::ValidWriter->ne

    XML::Filter::Dispatcher 0.52 (by Barrie Slaymaker)
    XML::Filter::Dispatcher is a path based event dispatching with DOM support.

    SYNOPSIS

    use XML::Filter::Dispatcher qw( :all )

    IPC::Run 0.80 (by Barrie Slaymaker)
    IPC::Run is a Perl module for system() and background procs w/ piping, redirs, ptys (Unix, Win32).

    Requirements:
    Perl

    SYNOPS


    Similar software

    XML::ValidWriter 0.39 (by Barrie Slaymaker)
    XML::ValidWriter is DOCTYPE driven valid XML output.

    SYNOPSIS

    ## As a normal perl object:
    $writer = XML::ValidWriter->ne

    XML::Writer 0.601 (by David Megginson)
    XML::Writer is a Perl extension for writing XML documents.

    SYNOPSIS

    use XML::Writer;
    use IO::File;

    my $output = new I

    XML::SAX::Writer 0.50 (by Robin Berjon)
    XML::SAX::Writer is a Perl module with SAX2 Writer.

    SYNOPSIS

    use XML::SAX::Writer;
    use XML::SAX::SomeDriver;

    my $w = XML::SA

    XML::Writer::Simple 0.01 (by Alberto Simoes)
    XML::Writer::Simple is a Perl module to create XML files easily!

    SYNOPSIS

    use XML::Writer::Simple dtd => "file.dtd";

    Graph::Writer::DrGeo 0.01 (by Kang-min Liu)
    Graph::Writer::DrGeo can save the graph output DrGeo scheme script.

    SYNOPSIS

    my $g = new Graph;

    # Add some vertices/edge

    XML::DocStats 0.01 (by Alan Dickey)
    XML::DocStats is a Perl module to produce a simple analysis of an XML document.

    SYNOPSIS

    Analyze the xml document on STDIN, the

    HTTP::OAI::Repository 3.16 (by HTTP::OAI::Repository Team)

    WISH CD-Writer 2006 (by David McClamrock)
    WISH CD-Writer a super-simple program for CD writing and rewriting, written in Tcl/Tk

    OPML Writer 0.1 (by emreTURK)

    XML::DOM::Document 1.44 (by XML::DOM Team)
    XML::DOM::Document is an XML document node in XML::DOM.

    XML::DOM::Document extends XML::DOM::Node.

    It is the main root of the X


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell



    Top tags