XML::ValidWriter

Description

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 youve got an XML::Doctype object handy: use XML::ValidWriter qw( :dtd_tags ), DOCTYPE => $doctype ; ## If youve 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, dont depend on things not changing drastically. Many methods supplied by XML::Writer are not yet supplied here..

Xml - Validwriter - Doctype - Element - Xmlvalidwriter - Valid - Driven - C2 - Libraries - Programming

Published By:Barrie Slaymaker

License Type:Freeware

Date Added:22 October, 2010

Version:0.39

Price:Free

Downloads:86

Size:28.7 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

XML::Simple::Tree is a tree object extension for XML::Simple data structures.

DateSep 3, 2010

AuthorAaron Dancygier

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

XML::Generator::vCard is a Perl module that can generate SAX2 events for vCard 3.

DateOct 4, 2010

AuthorAaron Straup Cope

Size7.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

RDFStore::Parser::SiRPAC is a Perl module that implements a streaming RDF Parser as a direct implementation of XML::Parser::Expat.

DateAug 8, 2010

AuthorAlberto Reggiori

Size481.3 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Data::Phrasebook::Loader::XML Perl module can abstract your phrases with XML. SYNOPSIS use Data::Phrasebook; my $q = Data::Phrasebook->new( class => Fnerk, loader => XML, file => phrases.

DateOct 11, 2010

AuthorBarbie

Size17.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

EDIReader is a Java package for parsing business documents structured according to EDI (Electronic Data Interchange) standards.

DateOct 12, 2010

AuthorBerryWorks

Size675.8 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Utilities