xml files
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 10969
XML::Simple 2.14
XML::Simple is a easy API to maintain XML (esp config files). more>>
XML::Simple is a easy API to maintain XML (esp config files).
SYNOPSIS
use XML::Simple;
my $ref = XMLin([< xml file or string >] [, < options >]);
my $xml = XMLout($hashref [, < options >]);
Or the object oriented way:
require XML::Simple;
my $xs = new XML::Simple(options);
my $ref = $xs->XMLin([< xml file or string >] [, < options >]);
my $xml = $xs->XMLout($hashref [, < options >]);
(or see "SAX SUPPORT" for the SAX way).
To catch common errors:
use XML::Simple qw(:strict);
<<lessSYNOPSIS
use XML::Simple;
my $ref = XMLin([< xml file or string >] [, < options >]);
my $xml = XMLout($hashref [, < options >]);
Or the object oriented way:
require XML::Simple;
my $xs = new XML::Simple(options);
my $ref = $xs->XMLin([< xml file or string >] [, < options >]);
my $xml = $xs->XMLout($hashref [, < options >]);
(or see "SAX SUPPORT" for the SAX way).
To catch common errors:
use XML::Simple qw(:strict);
Download (0.065MB)
Added: 2006-09-06 License: Perl Artistic License Price:
1151 downloads
Oasis XML Tools 0.1
Oasis XML Tools is a small utility to easily manage OpenOffice.org documents at xml level from outside OpenOffice.org suite. more>>
Oasis XML Tools is a small utility to easily manage OpenOffice.org documents at xml level from outside OpenOffice.org suite.
You can view and edit (with kwrite) the main xml files present in OpenOffice.org documents and update these documents with the changes.
Also you can compare two or three documents (using Kompare or KDiff3 for that)
System requirements:
- zip and unzip console tools
- some coreutils
Installation:
- Copy *.desktop to your ~/.kde/share/apps/konqueror/servicemenus or to /usr/share/apps/konqueror/servicemenus/ (as root)
- Copy oxml.sh somewhere in your path
Note:
- If you edit a xml of a document, remember that you must choose UTF-8 encoding in kwrite before save the document.
<<lessYou can view and edit (with kwrite) the main xml files present in OpenOffice.org documents and update these documents with the changes.
Also you can compare two or three documents (using Kompare or KDiff3 for that)
System requirements:
- zip and unzip console tools
- some coreutils
Installation:
- Copy *.desktop to your ~/.kde/share/apps/konqueror/servicemenus or to /usr/share/apps/konqueror/servicemenus/ (as root)
- Copy oxml.sh somewhere in your path
Note:
- If you edit a xml of a document, remember that you must choose UTF-8 encoding in kwrite before save the document.
Download (0.002MB)
Added: 2006-09-18 License: GPL (GNU General Public License) Price:
1131 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
f77xml 1.0.0beta
f77xml is a library that provides DOM parsing of XML files to Fortran 77/90. more>>
f77xml/f90xml is a library that provides DOM parsing of XML files to Fortran 77/90. It acts as a wrapper between Fortran and the gdome2 library.
Installation:
The `configure shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile in each directory of the package. It may also create one or more `.h files containing system-dependent definitions.
Finally, it creates a shell script `config.status that you can run in the future to recreate the current configuration, a file `config.cache that saves the results of its tests to speed up reconfiguring, and a file `config.log containing compiler output (useful mainly for debugging `configure).
If you need to do unusual things to compile the package, please try to figure out how `configure could check whether to do them, and mail diffs or instructions to the address given in the `README so they can be considered for the next release.
If at some point `config.cache contains results you dont want to keep, you may remove or edit it.
The file `configure.in is used to create `configure by a program called `autoconf. You only need `configure.in if you want to change it or regenerate `configure using a newer version of `autoconf.
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system.
If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute
`configure itself.
Running `configure takes awhile. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Optionally, type `make check to run any self-tests that come with the package.
4. Type `make install to install the programs and any data files and documentation.
5. You can remove the program binaries and object files from the source code directory by typing `make clean. To also remove the files that `configure created (so you can compile the package for a different kind of computer), type `make distclean.
There is also a `make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
<<lessInstallation:
The `configure shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile in each directory of the package. It may also create one or more `.h files containing system-dependent definitions.
Finally, it creates a shell script `config.status that you can run in the future to recreate the current configuration, a file `config.cache that saves the results of its tests to speed up reconfiguring, and a file `config.log containing compiler output (useful mainly for debugging `configure).
If you need to do unusual things to compile the package, please try to figure out how `configure could check whether to do them, and mail diffs or instructions to the address given in the `README so they can be considered for the next release.
If at some point `config.cache contains results you dont want to keep, you may remove or edit it.
The file `configure.in is used to create `configure by a program called `autoconf. You only need `configure.in if you want to change it or regenerate `configure using a newer version of `autoconf.
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system.
If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute
`configure itself.
Running `configure takes awhile. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Optionally, type `make check to run any self-tests that come with the package.
4. Type `make install to install the programs and any data files and documentation.
5. You can remove the program binaries and object files from the source code directory by typing `make clean. To also remove the files that `configure created (so you can compile the package for a different kind of computer), type `make distclean.
There is also a `make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
Download (0.54MB)
Added: 2005-10-04 License: LGPL (GNU Lesser General Public License) Price:
1480 downloads
XMLStarlet 1.0.1
XMLStarlet is a command line XML toolkit. more>>
XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts.
Main features:
- Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG)
- Calculate values of XPath expressions on XML files (such as running sums, etc)
- Search XML files for matches to given XPath expressions
- Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets)
- Query XML documents (ex. query for value of some elements of attributes, sorting, etc)
- Modify or edit XML documents (ex. delete some elements)
- Format or "beautify" XML documents (as changing indentation, etc)
- Fetch XML documents using http:// or ftp:// URLs
- Browse tree structure of XML documents (in similar way to ls command for directories)
- Include one XML document into another using XInclude
- XML c14n canonicalization
- Escape/unescape special XML characters in input text
- Print directory as XML document
- Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa
XMLStarlet command line utility is written in C and uses libxml2 and libxslt from http://xmlsoft.org/.
Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work).
diff and patch options are not currently implemented. Other features need some work too. Please, send an email to the project administrator (see http://sourceforge.net/projects/xmlstar/) if you wish to help.
XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type xml on command line and see list of options available.
XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects.
<<lessThis set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts.
Main features:
- Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG)
- Calculate values of XPath expressions on XML files (such as running sums, etc)
- Search XML files for matches to given XPath expressions
- Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets)
- Query XML documents (ex. query for value of some elements of attributes, sorting, etc)
- Modify or edit XML documents (ex. delete some elements)
- Format or "beautify" XML documents (as changing indentation, etc)
- Fetch XML documents using http:// or ftp:// URLs
- Browse tree structure of XML documents (in similar way to ls command for directories)
- Include one XML document into another using XInclude
- XML c14n canonicalization
- Escape/unescape special XML characters in input text
- Print directory as XML document
- Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa
XMLStarlet command line utility is written in C and uses libxml2 and libxslt from http://xmlsoft.org/.
Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work).
diff and patch options are not currently implemented. Other features need some work too. Please, send an email to the project administrator (see http://sourceforge.net/projects/xmlstar/) if you wish to help.
XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type xml on command line and see list of options available.
XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects.
Download (0.50MB)
Added: 2005-04-03 License: Freeware Price:
1666 downloads
XML Cleaner 0.2.2 beta
XML Cleaner is an XML filter and validator, similar to xmllint. more>>
XML Cleaner is a command line utility to filter and validate XML files.
XML Cleaner is written in Ada 9X and so it rather fast.
XML Cleaner is an XML filter and validator, similar to xmllint. It can remove superfluos namespace declarations from an XML file, expand XML entities, recode XML files, and more.
Main features:
- removes superfluous namespace declarations;
- Unicode support;
- (More to implement: XML validation, XML canonicalization, reformatting, whitespace removal, comments removal, XML charset recoding, XInclude processing, inplace file modification, etc.; XML Cleaner is to grow into a full featured command line XML filter and validator.)
XML Cleaner is developed to become xmllint replacement.
Enhancements:
- An option to choose whether or not to escape apostrophes and quotes in output was added.
<<lessXML Cleaner is written in Ada 9X and so it rather fast.
XML Cleaner is an XML filter and validator, similar to xmllint. It can remove superfluos namespace declarations from an XML file, expand XML entities, recode XML files, and more.
Main features:
- removes superfluous namespace declarations;
- Unicode support;
- (More to implement: XML validation, XML canonicalization, reformatting, whitespace removal, comments removal, XML charset recoding, XInclude processing, inplace file modification, etc.; XML Cleaner is to grow into a full featured command line XML filter and validator.)
XML Cleaner is developed to become xmllint replacement.
Enhancements:
- An option to choose whether or not to escape apostrophes and quotes in output was added.
Download (0.026MB)
Added: 2005-10-03 License: GPL (GNU General Public License) Price:
1483 downloads
XML::DT 0.45
XML::DT is a package for down translation of XML files. more>>
XML::DT is a package for down translation of XML files.
SYNOPSIS
use XML::DT;
%xml=( music => sub{"Music from: $cn"},
lyrics => sub{"Lyrics from: $v{name}n"},
title => sub{ uc($c) },
-default => sub{"$q:$c"} );
print dt($filename,%xml);
ABSTRACT
This module is a XML down processor. It maps tag (element) names to functions to process that element and respective contents.
This module processes XML files with an approach similar to OMNIMARK. As XML parser it uses XML::Parser or XML::LibXML module in an independent way. At configure stage, you should choose one of the back-ends.
<<lessSYNOPSIS
use XML::DT;
%xml=( music => sub{"Music from: $cn"},
lyrics => sub{"Lyrics from: $v{name}n"},
title => sub{ uc($c) },
-default => sub{"$q:$c"} );
print dt($filename,%xml);
ABSTRACT
This module is a XML down processor. It maps tag (element) names to functions to process that element and respective contents.
This module processes XML files with an approach similar to OMNIMARK. As XML parser it uses XML::Parser or XML::LibXML module in an independent way. At configure stage, you should choose one of the back-ends.
Download (0.028MB)
Added: 2006-09-14 License: Perl Artistic License Price:
1135 downloads
tX XML editor 1.2
tX, formerly known as Teddy, is a tabular XML editor. more>>
tX, formerly known as Teddy, is a tabular XML editor. tX XML editor presents the structure and content of XML files in a way that is both visually pleasing and easy to use.
Its features include the abiltiy to view XML in an hierarchical way without extraneous syntax or interface elements, edit data like a spreadsheet, enter data without having to worry about encoding rules, make major structural changes with minimal effort, cut and paste between most spreadsheet applications, and export to HTML.
Main features:
- Teddy is now rebranded as tX - Tabular XML editor.
- Compilation under Qt4.
- Elements without subelements have a closing "../>" instead of .
- Attribute-value quotes changed from to ".
- New menu icons - some original, some from art.gnome.org.
- German language translation.
- A new tab called "Help Text" provides a generic help-system for XML-Files. In this tab it is possible to display user documentation: If either the working-directory or the directory of the current xml file has a sub-directory with the name of the DTD, a right-click on an element ( ) will load and display a file called "element_name.html" in the QTextBrowser-Widget. A right-click on the attribute (attribute-name="...") will jump to the "element_name.html#attribute_name" section of the html help file.
<<lessIts features include the abiltiy to view XML in an hierarchical way without extraneous syntax or interface elements, edit data like a spreadsheet, enter data without having to worry about encoding rules, make major structural changes with minimal effort, cut and paste between most spreadsheet applications, and export to HTML.
Main features:
- Teddy is now rebranded as tX - Tabular XML editor.
- Compilation under Qt4.
- Elements without subelements have a closing "../>" instead of .
- Attribute-value quotes changed from to ".
- New menu icons - some original, some from art.gnome.org.
- German language translation.
- A new tab called "Help Text" provides a generic help-system for XML-Files. In this tab it is possible to display user documentation: If either the working-directory or the directory of the current xml file has a sub-directory with the name of the DTD, a right-click on an element ( ) will load and display a file called "element_name.html" in the QTextBrowser-Widget. A right-click on the attribute (attribute-name="...") will jump to the "element_name.html#attribute_name" section of the html help file.
Download (0.20MB)
Added: 2006-06-19 License: GPL (GNU General Public License) Price:
1224 downloads
XML::RDB 1.1
XML::RDB is a Perl extension to convert XML files into RDB schemas and populate, and unpopulate them. more>>
XML::RDB is a Perl extension to convert XML files into RDB schemas and populate, and unpopulate them. Works with XML Schemas too.
SYNOPSIS
use XML::RDB;
# Give our DBs DSN & username/password
my $rdb = new XML::RDB(config_file => db_config);
# Generate RDB Schema
$rdb->make_tables("my_xml_file.xml", "db_schema_output_file");
#
# Now import the generated db_schema_output_file into your DB
# (see t/1.t for an automated way to do this)
#
# Now populate our RDB
my($root_table_name, $primary_key) =
$rdb->populate_tables("my_xml_file.xml");
#
# Your XML file is now in your RDB!!!! Play as desired & when ready:
#
$rdb->unpopulate_tables($root_table_name, $primary_key,
new_xml_file.xml);
#
# Thats all fine & dandy but what if youve got an XML Schema???
#
# the first 2 calls are the same:
$rdb->make_tables("my_xsd_file.xsd", "db_schema_output_file");
#
# dont forget to put db_schema_output_file into your DB!
# then:
my($root_table_name, $primary_key) =
$rdb->populate_tables("my_xsd_file.xsd");
# note we only need the primary key for this next call
$rdb->unpopulate_schema($primary_key, fully_formed.xml);
#
# Now youve got fully_formed.xml - pass THAT to make_tables
# & yer golden:
#
$rdb->make_tables("fully_formed.xml", "REAL_RDB_schema");
#
# Now insert REAL_RDB_schema into yer DB & now any XML documents
# conforming to your original XML Schema (my_xsd_file.xsd) can be
# imported into your schema:
my ($rt, $pk) =
$rdb->populate_tables("xml_doc_conforming_to_my_xsd_file.xml");
# See the README file for a LOT more information...
ABSTRACT
XML::RDB - Perl extension to convert XML files into RDB schemas and populate, and unpopulate them. Works with XML Schemas too. Analyzes relationships within either an XML file or an XML Schema to create RDB tables to hold that document (or any XML document that conforms to the XML Schema).
<<lessSYNOPSIS
use XML::RDB;
# Give our DBs DSN & username/password
my $rdb = new XML::RDB(config_file => db_config);
# Generate RDB Schema
$rdb->make_tables("my_xml_file.xml", "db_schema_output_file");
#
# Now import the generated db_schema_output_file into your DB
# (see t/1.t for an automated way to do this)
#
# Now populate our RDB
my($root_table_name, $primary_key) =
$rdb->populate_tables("my_xml_file.xml");
#
# Your XML file is now in your RDB!!!! Play as desired & when ready:
#
$rdb->unpopulate_tables($root_table_name, $primary_key,
new_xml_file.xml);
#
# Thats all fine & dandy but what if youve got an XML Schema???
#
# the first 2 calls are the same:
$rdb->make_tables("my_xsd_file.xsd", "db_schema_output_file");
#
# dont forget to put db_schema_output_file into your DB!
# then:
my($root_table_name, $primary_key) =
$rdb->populate_tables("my_xsd_file.xsd");
# note we only need the primary key for this next call
$rdb->unpopulate_schema($primary_key, fully_formed.xml);
#
# Now youve got fully_formed.xml - pass THAT to make_tables
# & yer golden:
#
$rdb->make_tables("fully_formed.xml", "REAL_RDB_schema");
#
# Now insert REAL_RDB_schema into yer DB & now any XML documents
# conforming to your original XML Schema (my_xsd_file.xsd) can be
# imported into your schema:
my ($rt, $pk) =
$rdb->populate_tables("xml_doc_conforming_to_my_xsd_file.xml");
# See the README file for a LOT more information...
ABSTRACT
XML::RDB - Perl extension to convert XML files into RDB schemas and populate, and unpopulate them. Works with XML Schemas too. Analyzes relationships within either an XML file or an XML Schema to create RDB tables to hold that document (or any XML document that conforms to the XML Schema).
Download (0.033MB)
Added: 2006-08-14 License: Perl Artistic License Price:
1166 downloads
XML::UM 0.01
XML::UM is a Perl module to convert UTF-8 strings to any encoding supported by XML::Encoding. more>>
XML::UM is a Perl module to convert UTF-8 strings to any encoding supported by XML::Encoding.
SYNOPSIS
use XML::UM;
# Set directory with .xml files that comes with XML::Encoding distribution
# Always include the trailing slash!
$XML::UM::ENCDIR = /home1/enno/perlModules/XML-Encoding-1.01/maps/;
# Create the encoding routine
my $encode = XML::UM::get_encode (
Encoding => ISO-8859-2,
EncodeUnmapped => &XML::UM::encode_unmapped_dec);
# Convert a string from UTF-8 to the specified Encoding
my $encoded_str = $encode->($utf8_str);
# Remove circular references for garbage collection
XML::UM::dispose_encoding (ISO-8859-2);
This module provides methods to convert UTF-8 strings to any XML encoding that XML::Encoding supports. It creates mapping routines from the .xml files that can be found in the maps/ directory in the XML::Encoding distribution. Note that the XML::Encoding distribution does install the .enc files in your perl directory, but not the.xml files they were created from. Thats why you have to specify $ENCDIR as in the SYNOPSIS.
This implementation uses the XML::Encoding class to parse the .xml file and creates a hash that maps UTF-8 characters (each consisting of up to 4 bytes) to their equivalent byte sequence in the specified encoding. Note that large mappings may consume a lot of memory!
Future implementations may parse the .enc files directly, or do the conversions entirely in XS (i.e. C code.)
<<lessSYNOPSIS
use XML::UM;
# Set directory with .xml files that comes with XML::Encoding distribution
# Always include the trailing slash!
$XML::UM::ENCDIR = /home1/enno/perlModules/XML-Encoding-1.01/maps/;
# Create the encoding routine
my $encode = XML::UM::get_encode (
Encoding => ISO-8859-2,
EncodeUnmapped => &XML::UM::encode_unmapped_dec);
# Convert a string from UTF-8 to the specified Encoding
my $encoded_str = $encode->($utf8_str);
# Remove circular references for garbage collection
XML::UM::dispose_encoding (ISO-8859-2);
This module provides methods to convert UTF-8 strings to any XML encoding that XML::Encoding supports. It creates mapping routines from the .xml files that can be found in the maps/ directory in the XML::Encoding distribution. Note that the XML::Encoding distribution does install the .enc files in your perl directory, but not the.xml files they were created from. Thats why you have to specify $ENCDIR as in the SYNOPSIS.
This implementation uses the XML::Encoding class to parse the .xml file and creates a hash that maps UTF-8 characters (each consisting of up to 4 bytes) to their equivalent byte sequence in the specified encoding. Note that large mappings may consume a lot of memory!
Future implementations may parse the .enc files directly, or do the conversions entirely in XS (i.e. C code.)
Download (0.005MB)
Added: 2006-08-09 License: Perl Artistic License Price:
1172 downloads
XML::Writer 0.601
XML::Writer is a Perl extension for writing XML documents. more>>
XML::Writer is a Perl extension for writing XML documents.
SYNOPSIS
use XML::Writer;
use IO::File;
my $output = new IO::File(">output.xml");
my $writer = new XML::Writer(OUTPUT => $output);
$writer->startTag("greeting",
"class" => "simple");
$writer->characters("Hello, world!");
$writer->endTag("greeting");
$writer->end();
$output->close();
XML::Writer is a helper module for Perl programs that write an XML document. The module handles all escaping for attribute values and character data and constructs different types of markup, such as tags, comments, and processing instructions.
By default, the module performs several well-formedness checks to catch errors during output. This behaviour can be extremely useful during development and debugging, but it can be turned off for production-grade code.
The module can operate either in regular mode in or Namespace processing mode. In Namespace mode, the module will generate Namespace Declarations itself, and will perform additional checks on the output.
Additional support is available for a simplified data mode with no mixed content: newlines are automatically inserted around elements and elements can optionally be indented based as their nesting level.
<<lessSYNOPSIS
use XML::Writer;
use IO::File;
my $output = new IO::File(">output.xml");
my $writer = new XML::Writer(OUTPUT => $output);
$writer->startTag("greeting",
"class" => "simple");
$writer->characters("Hello, world!");
$writer->endTag("greeting");
$writer->end();
$output->close();
XML::Writer is a helper module for Perl programs that write an XML document. The module handles all escaping for attribute values and character data and constructs different types of markup, such as tags, comments, and processing instructions.
By default, the module performs several well-formedness checks to catch errors during output. This behaviour can be extremely useful during development and debugging, but it can be turned off for production-grade code.
The module can operate either in regular mode in or Namespace processing mode. In Namespace mode, the module will generate Namespace Declarations itself, and will perform additional checks on the output.
Additional support is available for a simplified data mode with no mixed content: newlines are automatically inserted around elements and elements can optionally be indented based as their nesting level.
Download (0.022MB)
Added: 2006-09-14 License: Perl Artistic License Price:
1136 downloads
XML::EasyOBJ 1.12
XML::EasyOBJ is an easy XML object navigation. more>>
XML::EasyOBJ is an easy XML object navigation.
SYNOPSIS
# open exisiting file
my $doc = new XML::EasyOBJ(my_xml_document.xml);
my $doc = new XML::EasyOBJ(-type => file, -param => my_xml_document.xml);
# create object from XML string
my $doc = new XML::EasyOBJ(-type => string, -param => $xml_source);
# create new file
my $doc = new XML::EasyOBJ(-type => new, -param => root_tag);
# read from document
my $text = $doc->some_element($index)->getString;
my $attr = $doc->some_element($index)->getAttr(foo);
my $element = $doc->some_element($index);
my @elements = $doc->some_element;
# first "some_element" element
my $elements = $doc->some_element;
# list of "some_element" elements
my @elements = $doc->some_element;
# write to document
$doc->an_element->setString(some string)
$doc->an_element->addString(some string)
$doc->an_element->setAttr(attrname, val)
$doc->an_element->setAttr(attr1 => val, attr2 => val2)
# access elements with non-name chars and the underlying DOM
my $element = $doc->getElement(foo-bar)->getElement(bar-none);
my $dom = $doc->foobar->getDomObj;
# get elements without specifying the element name
my @elements = $doc->getElement();
my $sixth_element = $doc->getElement(, 5);
# remove elements/attrs
$doc->remElement(tagname, $index);
$doc->tag_name->remAttr($attr);
# remap builtin methods
$doc->remapMethod(getString, s);
my $text = $doc->some_element->s;
I wrote XML::EasyOBJ a couple of years ago because it seemed to me that the DOM wasnt very "perlish" and the DOM is difficult for us mere mortals that dont use it on a regular basis. As I only need to process XML on an occasionally I wanted an easy way to do what I needed to do without having to refer back to DOM documentation each time.
A quick fact list about XML::EasyOBJ:
* Runs on top of XML::DOM
* Allows access to the DOM as needed
* Simple routines to reading and writing elements/attributes
<<lessSYNOPSIS
# open exisiting file
my $doc = new XML::EasyOBJ(my_xml_document.xml);
my $doc = new XML::EasyOBJ(-type => file, -param => my_xml_document.xml);
# create object from XML string
my $doc = new XML::EasyOBJ(-type => string, -param => $xml_source);
# create new file
my $doc = new XML::EasyOBJ(-type => new, -param => root_tag);
# read from document
my $text = $doc->some_element($index)->getString;
my $attr = $doc->some_element($index)->getAttr(foo);
my $element = $doc->some_element($index);
my @elements = $doc->some_element;
# first "some_element" element
my $elements = $doc->some_element;
# list of "some_element" elements
my @elements = $doc->some_element;
# write to document
$doc->an_element->setString(some string)
$doc->an_element->addString(some string)
$doc->an_element->setAttr(attrname, val)
$doc->an_element->setAttr(attr1 => val, attr2 => val2)
# access elements with non-name chars and the underlying DOM
my $element = $doc->getElement(foo-bar)->getElement(bar-none);
my $dom = $doc->foobar->getDomObj;
# get elements without specifying the element name
my @elements = $doc->getElement();
my $sixth_element = $doc->getElement(, 5);
# remove elements/attrs
$doc->remElement(tagname, $index);
$doc->tag_name->remAttr($attr);
# remap builtin methods
$doc->remapMethod(getString, s);
my $text = $doc->some_element->s;
I wrote XML::EasyOBJ a couple of years ago because it seemed to me that the DOM wasnt very "perlish" and the DOM is difficult for us mere mortals that dont use it on a regular basis. As I only need to process XML on an occasionally I wanted an easy way to do what I needed to do without having to refer back to DOM documentation each time.
A quick fact list about XML::EasyOBJ:
* Runs on top of XML::DOM
* Allows access to the DOM as needed
* Simple routines to reading and writing elements/attributes
Download (0.025MB)
Added: 2006-09-12 License: Perl Artistic License Price:
1137 downloads
Mini-XML 2.3
Mini-XML is a small XML parsing library that you can use to read XML and XML-like data files. more>>
Mini-XML is a small XML parsing library that you can use to read XML and XML-like data files in your application without requiring large non-standard libraries. The project only requires an ANSI C compatible compiler (GCC works, as do most vendors ANSI C compilers) and a make program.
Main features:
- Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings.
- Data is stored in a linked-list tree structure, preserving the XML data hierarchy.
- Supports arbitrary element names, attributes, and attribute values with no preset limits, just available memory.
- Supports integer, real, opaque ("cdata"), and text data types in "leaf" nodes.
- Functions for creating, indexing, and managing trees of data.
- "Find" and "walk" functions for easily locating and navigating trees of data.
Enhancements:
- This version adds a SAX API, more convenience functions, a user data pointer to the mxml_node_t structure, and improved HTML and new man page output from mxmldoc.
- This release also offers relaxed LGPL licensing that allows static linking.
<<lessMain features:
- Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings.
- Data is stored in a linked-list tree structure, preserving the XML data hierarchy.
- Supports arbitrary element names, attributes, and attribute values with no preset limits, just available memory.
- Supports integer, real, opaque ("cdata"), and text data types in "leaf" nodes.
- Functions for creating, indexing, and managing trees of data.
- "Find" and "walk" functions for easily locating and navigating trees of data.
Enhancements:
- This version adds a SAX API, more convenience functions, a user data pointer to the mxml_node_t structure, and improved HTML and new man page output from mxmldoc.
- This release also offers relaxed LGPL licensing that allows static linking.
Download (0.15MB)
Added: 2007-05-01 License: LGPL (GNU Lesser General Public License) Price:
908 downloads
XML::QL 0.07
XML::QL is an XML query language. more>>
XML::QL is an XML query language.
SYNOPSIS
$ql = WHERE $head ORDER-BY $head IN "file:REC-xml-19980210.xml" CONSTRUCT $head;
print XML::QL->query($sql);
This module is an early implementation of a note published by the W3C called "XML-QL: A Query Language for XML". XML-QL allows the user to query an XML document much like a database, and describe a construct for output. Currently this module only offers partial functionality as described in the specification, and even some of that has been changed for ease of use. This documentation will describe the fuctionality of this module as well as differences from the XML-QL specification.
METHODS
query( "query" )
This is the only method required to use this module. This one method allows the user to pass a valid XML-QL query to the module, and the return value is the output.
<<lessSYNOPSIS
$ql = WHERE $head ORDER-BY $head IN "file:REC-xml-19980210.xml" CONSTRUCT $head;
print XML::QL->query($sql);
This module is an early implementation of a note published by the W3C called "XML-QL: A Query Language for XML". XML-QL allows the user to query an XML document much like a database, and describe a construct for output. Currently this module only offers partial functionality as described in the specification, and even some of that has been changed for ease of use. This documentation will describe the fuctionality of this module as well as differences from the XML-QL specification.
METHODS
query( "query" )
This is the only method required to use this module. This one method allows the user to pass a valid XML-QL query to the module, and the return value is the output.
Download (0.008MB)
Added: 2006-10-25 License: GPL (GNU General Public License) Price:
1097 downloads
XML Hammer 1.0 RC1
XML Hammer application is a free and open-source tool that simplifies elementary XML actions. more>>
XML Hammer application is a free and open-source tool that simplifies elementary XML actions like checking for well-formedness, validation, transformation and xpath searches using any JAXP implementation.
After all these years of XML, it is still relatively difficult to simply validate or transform XML files. You are currently either forced to use extensive, sometimes expensive, and most often difficult to use tools with a lot of extra functionality unnecessary for these simple tasks and very often not flexible enough to provide what you want, or you will have to be almost a programmer and create your own application or script to handle these elementary XML related tasks.
The XML Hammer tool addresses these issues by providing a free and open-source tool that has a (relatively) simple to use user-interface however still allowing the flexibility for the user to specify anything that he/she would have been able to specify when writing a script for this same task him/herself.
The functionality of the XML Hammer tool is based on the capabilities provided by the Java API for XML Processing (JAXP) and supports the JAXP API as fully as possible. To achieve this, the functionality has been divided into four specific project types:
Transformer - Perform XSLT transformations.
XPath - Perform XPath searches on XML files.
XML Parser - Parse and validate XML files.
Schema Validator - Parse and validate Schema files.
Enhancements:
- This version features some major new functionality, including comprehensive help documentation, deactivate and activate properties, easier to use validation functionality, and more.
- Bugs with selecting items in combo-boxes using keys, issues when performing XPath searches, module initialization error handling, and other smaller bugs were fixed.
<<lessAfter all these years of XML, it is still relatively difficult to simply validate or transform XML files. You are currently either forced to use extensive, sometimes expensive, and most often difficult to use tools with a lot of extra functionality unnecessary for these simple tasks and very often not flexible enough to provide what you want, or you will have to be almost a programmer and create your own application or script to handle these elementary XML related tasks.
The XML Hammer tool addresses these issues by providing a free and open-source tool that has a (relatively) simple to use user-interface however still allowing the flexibility for the user to specify anything that he/she would have been able to specify when writing a script for this same task him/herself.
The functionality of the XML Hammer tool is based on the capabilities provided by the Java API for XML Processing (JAXP) and supports the JAXP API as fully as possible. To achieve this, the functionality has been divided into four specific project types:
Transformer - Perform XSLT transformations.
XPath - Perform XPath searches on XML files.
XML Parser - Parse and validate XML files.
Schema Validator - Parse and validate Schema files.
Enhancements:
- This version features some major new functionality, including comprehensive help documentation, deactivate and activate properties, easier to use validation functionality, and more.
- Bugs with selecting items in combo-boxes using keys, issues when performing XPath searches, module initialization error handling, and other smaller bugs were fixed.
Download (4.2MB)
Added: 2007-06-26 License: GPL (GNU General Public License) Price:
852 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 files 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