xml
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1889
XML::DifferenceMarkup 1.00
XML::DifferenceMarkup is a XML diff and merge. more>>
XML::DifferenceMarkup is a XML diff and merge.
SYNOPSIS
use XML::DifferenceMarkup qw(make_diff);
$parser = XML::LibXML->new();
$parser->keep_blanks(0);
$d1 = $parser->parse_file($fname1);
$d2 = $parser->parse_file($fname2);
$dom = make_diff($d1, $d2);
print $dom->toString(1);
This module implements an XML diff producing XML output. Both input and output are DOM documents, as implemented by XML::LibXML.
The diff format used by XML::DifferenceMarkup is meant to be human-readable (i.e. simple, as opposed to short) - basically the diff is a subset of the input trees, annotated with instruction element nodes specifying how to convert the source tree to the target by inserting and deleting nodes. To prevent name colisions with input trees, all added elements are in a namespace http://www.locus.cz/diffmark (the diff will fail on input trees which already use that namespace).
<<lessSYNOPSIS
use XML::DifferenceMarkup qw(make_diff);
$parser = XML::LibXML->new();
$parser->keep_blanks(0);
$d1 = $parser->parse_file($fname1);
$d2 = $parser->parse_file($fname2);
$dom = make_diff($d1, $d2);
print $dom->toString(1);
This module implements an XML diff producing XML output. Both input and output are DOM documents, as implemented by XML::LibXML.
The diff format used by XML::DifferenceMarkup is meant to be human-readable (i.e. simple, as opposed to short) - basically the diff is a subset of the input trees, annotated with instruction element nodes specifying how to convert the source tree to the target by inserting and deleting nodes. To prevent name colisions with input trees, all added elements are in a namespace http://www.locus.cz/diffmark (the diff will fail on input trees which already use that namespace).
Download (0.056MB)
Added: 2007-08-17 License: Perl Artistic License Price:
798 downloads
XML::DOM::XML_Base 0.02
XML::DOM::XML_Base Perl module can apply xml:base to attribute values. more>>
XML::DOM::XML_Base Perl module can apply xml:base to attribute values.
SYNOPSIS
use XML::DOM::XML_Base;
my $parser = XML::DOM::Parser->new();
my $xml = qq(
);
# build the DOM
my $dom = $parser->parse( $xml );
# get some elements
my $endo = $dom->getElementsByTagName( endo )->item( 0 );
my $meso = $dom->getElementsByTagName( meso )->item( 0 );
my $ecto = $dom->getElementsByTagName( ecto )->item( 0 );
print $endo->getBase()."n"; # a/b/c/
print $meso->getBase()."n"; # a/b/
print $ecto->getBase()."n"; # a/
print $endo->getAttributeWithBase( x )."n"; # a/b/c/3
print $meso->getAttributeWithBase( x )."n"; # a/b/2
print $ecto->getAttributeWithBase( x )."n"; # a/1
<<lessSYNOPSIS
use XML::DOM::XML_Base;
my $parser = XML::DOM::Parser->new();
my $xml = qq(
);
# build the DOM
my $dom = $parser->parse( $xml );
# get some elements
my $endo = $dom->getElementsByTagName( endo )->item( 0 );
my $meso = $dom->getElementsByTagName( meso )->item( 0 );
my $ecto = $dom->getElementsByTagName( ecto )->item( 0 );
print $endo->getBase()."n"; # a/b/c/
print $meso->getBase()."n"; # a/b/
print $ecto->getBase()."n"; # a/
print $endo->getAttributeWithBase( x )."n"; # a/b/c/3
print $meso->getAttributeWithBase( x )."n"; # a/b/2
print $ecto->getAttributeWithBase( x )."n"; # a/1
Download (0.003MB)
Added: 2007-07-20 License: Perl Artistic License Price:
826 downloads
MARC::XML 0.4
MARC::XML is a subclass of MARC.pm to provide XML support. more>>
MARC::XML is a subclass of MARC.pm to provide XML support.
SYNOPSIS
use MARC::XML;
#read in some MARC and output some XML
$myobject = MARC::XML->new("marc.mrc","usmarc");
$myobject->output({file=>">marc.xml",format=>"xml"});
#read in some XML and output some MARC
$myobject = MARC::XML->new("marc.xml","xml");
$myobject->output({file=>">marc.mrc","usmarc");
MARC::XML is a subclass of MARC.pm which provides methods for round-trip conversions between MARC and XML. MARC::XML requires that you have the CPAN modules MARC.pm and XML::Parser installed in your Perl library. Version 1.04 of MARC.pm and 2.27 of XML::Parser (or later) are required. As a subclass of MARC.pm a MARC::XML object will by default have the full functionality of a MARC.pm object. See the MARC.pm documentation for details.
The XML file that is read and generated by MARC::XML is not associated with a Document Type Definition (DTD). This means that your files need to be well-formed, but they will not be validated. When performing XML->MARC conversion it is important that the XML file is structured in a particular way. Fortunately, this is the same format that is generated by the MARC->XML conversion, so you should be able to be able to move your data easily between the two formats.
<<lessSYNOPSIS
use MARC::XML;
#read in some MARC and output some XML
$myobject = MARC::XML->new("marc.mrc","usmarc");
$myobject->output({file=>">marc.xml",format=>"xml"});
#read in some XML and output some MARC
$myobject = MARC::XML->new("marc.xml","xml");
$myobject->output({file=>">marc.mrc","usmarc");
MARC::XML is a subclass of MARC.pm which provides methods for round-trip conversions between MARC and XML. MARC::XML requires that you have the CPAN modules MARC.pm and XML::Parser installed in your Perl library. Version 1.04 of MARC.pm and 2.27 of XML::Parser (or later) are required. As a subclass of MARC.pm a MARC::XML object will by default have the full functionality of a MARC.pm object. See the MARC.pm documentation for details.
The XML file that is read and generated by MARC::XML is not associated with a Document Type Definition (DTD). This means that your files need to be well-formed, but they will not be validated. When performing XML->MARC conversion it is important that the XML file is structured in a particular way. Fortunately, this is the same format that is generated by the MARC->XML conversion, so you should be able to be able to move your data easily between the two formats.
Download (0.050MB)
Added: 2007-07-17 License: Perl Artistic License Price:
830 downloads
XML::Bare 0.11
XML::Bare is a minimal XML parser implemented via a C state engine. more>>
XML::Bare is a minimal XML parser implemented via a C state engine.
SYNOPSIS
use XML::Bare;
my $xml = new XML::Bare( text => Bob );
# Parse the xml into a hash tree
my $root = $xml->parse();
# Print the content of the name node
print $root->{xml}->{name}->{value};
# Load xml from a file ( assume same contents as first example )
my $xml2 = new XML::Bare( file => test.xml );
my $root2 = $xml2->parse();
$root2->{xml}->{name}->{value} = Tim;
# Save the changes back to the file
$xml2->save();
<<lessSYNOPSIS
use XML::Bare;
my $xml = new XML::Bare( text => Bob );
# Parse the xml into a hash tree
my $root = $xml->parse();
# Print the content of the name node
print $root->{xml}->{name}->{value};
# Load xml from a file ( assume same contents as first example )
my $xml2 = new XML::Bare( file => test.xml );
my $root2 = $xml2->parse();
$root2->{xml}->{name}->{value} = Tim;
# Save the changes back to the file
$xml2->save();
Download (0.010MB)
Added: 2007-07-07 License: Perl Artistic License Price:
839 downloads
XML::Table2XML 1.0
XML::Table2XML is a Perl module for generic conversion of tabular data to XML by reverting Excels flattener methodology. more>>
XML::Table2XML is a Perl module for generic conversion of tabular data to XML by reverting Excels flattener methodology.
SYNOPSIS
use XML::Table2XML;
my $outXML = "";
# first parse column path headers for attribute names, id columns and special common sibling mark ("//")
parseHeaderForXML("rootNodeName", [/@id,/@name2,/a]);
# then walk through the whole data to build the actual XML string into $outXML
my @datarows = ([1,"testName","testA"],
[1,"testName","testB"],
[1,"testName","testC"]);
for my $lineData (@datarows) {
$outXML.=addXMLLine($lineData);
}
#finally finish the XML and reset the static vars
$outXML.=addXMLLine(undef);
print $outXML;
# yields:
# < ?xml version="1.0"? >
# < rootNodeName id="1" name2="testName" >< a >testA< /a >testB< /a >< a >testC< /a >< /rootNodeName >
table2xml is an algorithm having two functions that allow the conversion of tabular data to XML without using XSLT. This is achieved by reverting the "Flattener" methodology used by Microsoft Excel to convert the XML tree format to a two-dimensional table (see Opening XML Files in Excel and INFO: Microsoft Excel 2002 and XML).
This reversion is achieved by:
1. (possibly) modifying the flattened table a bit to enable a simpler processing of the data,
2. sequentially processing the data column- and row wise.
The whole algorithm is done without the aid of any XML library, so it lends itself to easy translation into other environments and languages.
Producing the XML:
1. invoke parseHeaderForXML, using a line with the rootnode and path information.
2. After parsing the header info, the table data can be processed row by row by calling addXMLLine. The current data row is provided in the single argument lineData, the built XML is string returned and can be collected/written.
3. A final call to addXMLLine with lineData == undef restores the static variables and finalizes the XML string (closes any still open tags).
<<lessSYNOPSIS
use XML::Table2XML;
my $outXML = "";
# first parse column path headers for attribute names, id columns and special common sibling mark ("//")
parseHeaderForXML("rootNodeName", [/@id,/@name2,/a]);
# then walk through the whole data to build the actual XML string into $outXML
my @datarows = ([1,"testName","testA"],
[1,"testName","testB"],
[1,"testName","testC"]);
for my $lineData (@datarows) {
$outXML.=addXMLLine($lineData);
}
#finally finish the XML and reset the static vars
$outXML.=addXMLLine(undef);
print $outXML;
# yields:
# < ?xml version="1.0"? >
# < rootNodeName id="1" name2="testName" >< a >testA< /a >testB< /a >< a >testC< /a >< /rootNodeName >
table2xml is an algorithm having two functions that allow the conversion of tabular data to XML without using XSLT. This is achieved by reverting the "Flattener" methodology used by Microsoft Excel to convert the XML tree format to a two-dimensional table (see Opening XML Files in Excel and INFO: Microsoft Excel 2002 and XML).
This reversion is achieved by:
1. (possibly) modifying the flattened table a bit to enable a simpler processing of the data,
2. sequentially processing the data column- and row wise.
The whole algorithm is done without the aid of any XML library, so it lends itself to easy translation into other environments and languages.
Producing the XML:
1. invoke parseHeaderForXML, using a line with the rootnode and path information.
2. After parsing the header info, the table data can be processed row by row by calling addXMLLine. The current data row is provided in the single argument lineData, the built XML is string returned and can be collected/written.
3. A final call to addXMLLine with lineData == undef restores the static variables and finalizes the XML string (closes any still open tags).
Download (0.010MB)
Added: 2007-06-29 License: Perl Artistic License Price:
847 downloads
Bare XML 0.11
Bare XML project is a XML parser with all primary parsing done via a simple state engine with about 20 or so different states. more>>
Bare XML project is a XML parser with all primary parsing done via a simple state engine with about 20 or so different states. A tree structure is created during parsing, with all node names and values linked via pointers directly into the original text buffer.
As such, Bare XML is extremely fast and simple. Currently, the parser is available in a perl module with Perl glue to turn the created tree into a Perl hash tree. The module name is XML::Bare.
<<lessAs such, Bare XML is extremely fast and simple. Currently, the parser is available in a perl module with Perl glue to turn the created tree into a Perl hash tree. The module name is XML::Bare.
Download (0.024MB)
Added: 2007-06-26 License: Perl Artistic License Price:
851 downloads
VTD-XML 2.1
VTD-XML is a non-extractive XML processing software API implementing Virtual Token Descriptor. more>>
VTD-XML is a "non-extractive" XML processing software API implementing Virtual Token Descriptor. Currently, VTD-XML only supports built-in entity references (" &s ><<less
Download (0.64MB)
Added: 2007-06-16 License: GPL (GNU General Public License) Price:
863 downloads
XML::DB::DatabaseManager 0.02
XML::DB::DatabaseManager is an approximation to the XML:DB DatabaseManager. more>>
XML::DB::DatabaseManager is an approximation to the XML:DB DatabaseManager.
SYNOPSIS
use XML::DB::DatabaseManager;
my $driver = Xindice; my $url = http://localhost:4080;
eval{ $dbm = new XML::DB::DatabaseManager(); $dbm->registerDatabase($driver); $col = $dbm->getCollection("xmldb:$driver:$url/db/test"); ...... };
if ($@){ die $@; }
deregisterDatabase($driver);
This is the initial class to use to get access to the XML:DB modules, an approximate implementation of the XML:DB API defined for Java at http://www.xmldb.org. This implementation is designed to give a uniform Perl access over XML-RPC to both of the current free native XML databases, eXist and Xindice, as well as providing the same front-end for a plain file-system.
Unlike the DatabaseManager defined in the XML:DB API (which is a Factory), this simply registers driver names, generating a new Database instance for each request. Multiple database drivers can be used simultaneously (eg. to transfer data from one database to another). The drivers themselves are rather confusingly called Databases in this system.
Only one DatabaseManager can be instantiated in a program.
<<lessSYNOPSIS
use XML::DB::DatabaseManager;
my $driver = Xindice; my $url = http://localhost:4080;
eval{ $dbm = new XML::DB::DatabaseManager(); $dbm->registerDatabase($driver); $col = $dbm->getCollection("xmldb:$driver:$url/db/test"); ...... };
if ($@){ die $@; }
deregisterDatabase($driver);
This is the initial class to use to get access to the XML:DB modules, an approximate implementation of the XML:DB API defined for Java at http://www.xmldb.org. This implementation is designed to give a uniform Perl access over XML-RPC to both of the current free native XML databases, eXist and Xindice, as well as providing the same front-end for a plain file-system.
Unlike the DatabaseManager defined in the XML:DB API (which is a Factory), this simply registers driver names, generating a new Database instance for each request. Multiple database drivers can be used simultaneously (eg. to transfer data from one database to another). The drivers themselves are rather confusingly called Databases in this system.
Only one DatabaseManager can be instantiated in a program.
Download (0.035MB)
Added: 2007-06-15 License: Perl Artistic License Price:
864 downloads
XML-Grammar-Screenplay 0.04
XML-Grammar-Screenplay is a processor for well-formed plain text representing Screenplays. more>>
XML-Grammar-Screenplay is a processor for well-formed plain text representing Screenplays.
This in turn is rendered into a specialized XML format, and that in turn can be converted to HTML or DocBook/XML.
INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
<<lessThis in turn is rendered into a specialized XML format, and that in turn can be converted to HTML or DocBook/XML.
INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
Download (0.015MB)
Added: 2007-06-12 License: GPL (GNU General Public License) Price:
871 downloads
XML::ApacheFOP 0.03
XML::ApacheFOP is a Perl module that can access Apache FOP from Perl to create PDF files using XSL-FO. more>>
XML::ApacheFOP is a Perl module that can access Apache FOP from Perl to create PDF files using XSL-FO.
SYNOPSIS
use XML::ApacheFOP;
my $Fop = XML::ApacheFOP->new();
# create a PDF using a xml/xsl tranformation
$Fop->fop(xml=>"foo.xml", xsl=>"bar.xsl", outfile=>"temp1.pdf") || die "cannot create pdf: " . $Fop->errstr;
# create a PDF using an xsl-fo file
$Fop->fop(fo=>"foo.fo", outfile=>"temp2.pdf") || die "cannot create pdf: " . $Fop->errstr;
# create a PostScript file using an xsl-fo file
$Fop->fop(fo=>"foo.fo", outfile=>"temp3.ps", rendertype=>"ps") || die "cannot create ps file: " . $Fop->errstr;
# reset FOPs image cache (available starting with FOP version 0.20.5)
$Fop->reset_image_cache() || die "could not reset FOPs image cache: " . $Fop->errstr;
XML::ApacheFOP allows you to create PDFs (or other output types, explained below) using Apache FOP.
Since FOP is written in Java, this module relies on Java.pm. You will need to have FOP and Java.pm installed before installing this module.
<<lessSYNOPSIS
use XML::ApacheFOP;
my $Fop = XML::ApacheFOP->new();
# create a PDF using a xml/xsl tranformation
$Fop->fop(xml=>"foo.xml", xsl=>"bar.xsl", outfile=>"temp1.pdf") || die "cannot create pdf: " . $Fop->errstr;
# create a PDF using an xsl-fo file
$Fop->fop(fo=>"foo.fo", outfile=>"temp2.pdf") || die "cannot create pdf: " . $Fop->errstr;
# create a PostScript file using an xsl-fo file
$Fop->fop(fo=>"foo.fo", outfile=>"temp3.ps", rendertype=>"ps") || die "cannot create ps file: " . $Fop->errstr;
# reset FOPs image cache (available starting with FOP version 0.20.5)
$Fop->reset_image_cache() || die "could not reset FOPs image cache: " . $Fop->errstr;
XML::ApacheFOP allows you to create PDFs (or other output types, explained below) using Apache FOP.
Since FOP is written in Java, this module relies on Java.pm. You will need to have FOP and Java.pm installed before installing this module.
Download (0.007MB)
Added: 2007-06-06 License: Perl Artistic License Price:
870 downloads
XML::SAX2Perl 0.08
XML::SAX2Perl is a Perl module to translate Perl SAX methods to Java/CORBA style methods. more>>
XML::SAX2Perl is a Perl module to translate Perl SAX methods to Java/CORBA style methods.
SYNOPSIS
use XML::Perl2SAX;
$perl2sax = XML::Perl2SAX(handler => $java_style_handler);
XML::Perl2SAX is a SAX filter that translates Perl style SAX methods to Java/CORBA style method calls. This module performs the inverse operation from XML::SAX2Perl.
Perl2SAX is a Perl SAX document handler. The `new method takes a `handler argument that is a Java/CORBA style handler that the new Perl2SAX instance will call. The SAX interfaces are defined at < http://www.megginson.com/SAX/ >.
<<lessSYNOPSIS
use XML::Perl2SAX;
$perl2sax = XML::Perl2SAX(handler => $java_style_handler);
XML::Perl2SAX is a SAX filter that translates Perl style SAX methods to Java/CORBA style method calls. This module performs the inverse operation from XML::SAX2Perl.
Perl2SAX is a Perl SAX document handler. The `new method takes a `handler argument that is a Java/CORBA style handler that the new Perl2SAX instance will call. The SAX interfaces are defined at < http://www.megginson.com/SAX/ >.
Download (0.063MB)
Added: 2007-06-05 License: Perl Artistic License Price:
871 downloads
MillScript-XML 0.3
MillScript-XML is an alternative Java XML parsing library with its own custom API. more>>
MillScript-XML project is an alternative Java XML parsing library with its own custom API. The underlying tokenizer can be configured to permit non-well-formed XML.
This librarys API provides both an event model and a more conventional token stream model. The authors believe that the token stream is more friendly to applications, easier to use, and helps to minimise object creation and inter-conversion of types with the parser. A SAX2 implementation is provided for compatibility with existing applications.
In particular by making the tokenizer return Token objects instead of ints, we reduce the scope for unsupported token type creeping in. We have then implemented the visitor pattern for our Token objects, effectively bringing together the tokenizing and even style parsers into a common structure.
<<lessThis librarys API provides both an event model and a more conventional token stream model. The authors believe that the token stream is more friendly to applications, easier to use, and helps to minimise object creation and inter-conversion of types with the parser. A SAX2 implementation is provided for compatibility with existing applications.
In particular by making the tokenizer return Token objects instead of ints, we reduce the scope for unsupported token type creeping in. We have then implemented the visitor pattern for our Token objects, effectively bringing together the tokenizing and even style parsers into a common structure.
Download (0.066MB)
Added: 2007-03-26 License: GPL (GNU General Public License) Price:
942 downloads
XML-CompareML 0.2.0
XML::CompareML is a Perl module for managing multi-system and multi-item comparisons. more>>
The primary use of this module by its author was to manage the Better SCM comparison of version control systems.
The Perl versions can generate either HTML or DocBook/XML. (the latter can be converted into many other formats). Also available is an XSLT stylesheet for transforming the XML markup into HTML.
<<lessThe Perl versions can generate either HTML or DocBook/XML. (the latter can be converted into many other formats). Also available is an XSLT stylesheet for transforming the XML markup into HTML.
Download (0.017MB)
Added: 2007-03-20 License: Perl Artistic License Price:
948 downloads
XML::Mini::Element::Comment 1.2.8
XML::Mini::Element::Comment is used internally to represent <!-- comments -->. more>>
XML::Mini::Element::Comment is used internally to represent .
You shouldnt need to use it directly, see XML::Mini::Elements comment() method.
<<lessYou shouldnt need to use it directly, see XML::Mini::Elements comment() method.
Download (0.034MB)
Added: 2007-03-16 License: GPL (GNU General Public License) Price:
953 downloads
XML::Mini::Element::Entity 1.2.8
XML::Mini::Element::Entity Perl module is used internally to represent < !ENTITY name stuff >. more>>
XML::Mini::Element::Entity Perl module is used internally to represent < !ENTITY name "stuff" >.
You shouldnt need to use it directly, see XML::Mini::Elements entity() method.
<<lessYou shouldnt need to use it directly, see XML::Mini::Elements entity() method.
Download (0.034MB)
Added: 2007-03-08 License: Perl Artistic License Price:
960 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above xml search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed