Main > Free Download Search >

Free xml software for linux

xml

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1889
StatCvs-XML 0.9.6

StatCvs-XML 0.9.6


StatCvs-XML provides reports about cvs usage based on the cvs log. more>>
StatCvs-XML provides reports about cvs usage based on the cvs log. It is an extension of the great StatCvs project.
StatCvs-XML shares the cvs log parsing code with StatCvs but has advanced report generation and customization features.
Main features:
- Colorful 3D charts to visualize project progress
- Extensive tables with statistical data
- Highly customizable reports through parameterization and scriptability
- Accurate analysis through history feature
- Seamless integration with Apache Maven
<<less
Download (0.006MB)
Added: 2005-05-20 License: GPL (GNU General Public License) Price:
1618 downloads
XML Toolkit 0.7 Beta2

XML Toolkit 0.7 Beta2


XML Toolkit provides an easy to use, very pythoninc approach to XML processing. more>>
XML Toolkit provides an easy to use, very pythoninc approach to XML processing.
The current release of XML Toolkit is almost complete.

Check the source code to see the project status.

<<less
Download (0.033MB)
Added: 2005-12-09 License: GPL (GNU General Public License) Price:
1417 downloads
XML::Parser 2.34

XML::Parser 2.34


XML::Parser is a perl module for parsing XML documents. more>>
XML::Parser is a perl module for parsing XML documents.

SYNOPSIS

use XML::Parser;

$p1 = new XML::Parser(Style => Debug);
$p1->parsefile(REC-xml-19980210.xml);
$p1->parse( Hello World );

# Alternative
$p2 = new XML::Parser(Handlers => {Start => &handle_start,
End => &handle_end,
Char => &handle_char});
$p2->parse($socket);

# Another alternative
$p3 = new XML::Parser(ErrorContext => 2);

$p3->setHandlers(Char => &text,
Default => &other);

open(FOO, xmlgenerator |);
$p3->parse(*FOO, ProtocolEncoding => ISO-8859-1);
close(FOO);

$p3->parsefile(junk.xml, ErrorContext => 3);

This module provides ways to parse XML documents. It is built on top of XML::Parser::Expat, which is a lower level interface to James Clarks expat library. Each call to one of the parsing methods creates a new instance of XML::Parser::Expat which is then used to parse the document.

Expat options may be provided when the XML::Parser object is created. These options are then passed on to the Expat object on each parse call. They can also be given as extra arguments to the parse methods, in which case they override options given at XML::Parser creation time.

The behavior of the parser is controlled either by "Style" and/or "Handlers" options, or by "setHandlers" method. These all provide mechanisms for XML::Parser to set the handlers needed by XML::Parser::Expat. If neither Style nor Handlers are specified, then parsing just checks the document for being well-formed.

When underlying handlers get called, they receive as their first parameter the Expat object, not the Parser object.

<<less
Download (0.22MB)
Added: 2006-06-14 License: Perl Artistic License Price:
1235 downloads
XML::XQL 0.68

XML::XQL 0.68


XML::XQL is a perl module for querying XML tree structures with XQL. more>>
XML::XQL is a perl module for querying XML tree structures with XQL.

SYNOPSIS

use XML::XQL;
use XML::XQL::DOM;

$parser = new XML::DOM::Parser;
$doc = $parser->parsefile ("file.xml");

# Return all elements with tagName=title under the root element book
$query = new XML::XQL::Query (Expr => "book/title");
@result = $query->solve ($doc);
$query->dispose; # Avoid memory leaks - Remove circular references

# Or (to save some typing)
@result = XML::XQL::solve ("book/title", $doc);

# Or (to save even more typing)
@result = $doc->xql ("book/title");

The XML::XQL module implements the XQL (XML Query Language) proposal submitted to the XSL Working Group in September 1998. The spec can be found at: http://www.w3.org/TandS/QL/QL98/pp/xql.html Most of the contents related to the XQL syntax can also be found in the XML::XQL::Tutorial that comes with this distribution. Note that XQL is not the same as XML-QL!

The current implementation only works with the XML::DOM module, but once the design is stable and the major bugs are flushed out, other extensions might follow, e.g. for XML::Grove.

XQL was designed to be extensible and this implementation tries to stick to that. Users can add their own functions, methods, comparison operators and data types. Plugging in a new XML tree structure (like XML::Grove) should be a piece of cake.
To use the XQL module, either

use XML::XQL;
or
use XML::XQL::Strict;

The Strict module only provides the core XQL functionality as found in the XQL spec. By default (i.e. by using XML::XQL) you get XQL+, which has some additional features.

See the section "Additional Features in XQL+" for the differences.
This module is still in development. See the To-do list in XQL.pm for what still needs to be done. Any suggestions are welcome, the sooner these implementation issues are resolved, the faster we can all use this module.

If you find a bug, you would do me great favor by sending it to me in the form of a test case. See the file t/xql_template.t that comes with this distribution.

If you have written a cool comparison operator, function, method or XQL data type that you would like to share, send it to tjmather@tjmather.com and I will add it to this module.

<<less
Download (0.11MB)
Added: 2006-06-15 License: Perl Artistic License Price:
1232 downloads
XML::SimpleObject 0.53

XML::SimpleObject 0.53


XML::SimpleObject is a Perl extension allowing a simple object representation of a parsed XML::Parser tree. more>>
XML::SimpleObject is a Perl extension allowing a simple object representation of a parsed XML::Parser tree.

SYNOPSIS

use XML::SimpleObject;

# Construct with the key/value pairs as argument; this will create its
# own XML::Parser object.
my $xmlobj = new XML::SimpleObject(XML => $XML, ErrorContext => 2);

# ... or construct with the parsed tree as the only argument, having to
# create the XML::Parser object separately.
my $parser = new XML::Parser (ErrorContext => 2, Style => "Tree");
my $xmlobj = new XML::SimpleObject ($parser->parse($XML));

my $filesobj = $xmlobj->child("files")->child("file");

$filesobj->name;
$filesobj->value;
$filesobj->attribute("type");

%attributes = $filesobj->attributes;
@children = $filesobj->children;
@some_children = $filesobj->children("some");
@chilren_names = $filesobj->children_names;

This is a short and simple class allowing simple object access to a parsed XML::Parser tree, with methods for fetching children and attributes in as clean a manner as possible. My apologies for further polluting the XML:: space; this is a small and quick module, with easy and compact usage. See XML::SimpleObject::LibXML for the same interface for XML::LibXML.

USAGE

$xmlobj = new XML::SimpleObject($parser->parse($XML))

$parser is an XML::Parser object created with Style "Tree":

my $parser = new XML::Parser (ErrorContext => 2, Style => "Tree");
After creating $xmlobj, this object can now be used to browse the XML tree with the following methods.

$xmlobj->child(NAME)

This will return a new XML::SimpleObject object using the child element NAME.

$xmlobj->children(NAME)

Called with an argument NAME, children() will return an array of XML::SimpleObject objects of element NAME. Thus, if $xmlobj represents the top-level XML element, children will return an array of all elements directly below the top-level that have the element name NAME.

$xmlobj->children

Called without arguments, children() will return an array of XML::SimpleObject s for all children elements of $xmlobj. These are not in the order they occur in the XML document.

$xmlobj->children_names

This will return an array of all the names of child elements for $xmlobj. You can use this to step through all the children of a given element (see EXAMPLES). Each name will occur only once, even if multiple children exist with that name.

$xmlobj->value

If the element represented by $xmlobj contains any PCDATA, this method will return that text data.

$xmlobj->attribute(NAME)

This returns the text for an attribute NAME of the XML element represented by $xmlobj.

$xmlobj->attributes

This returns a hash of key/value pairs for all elements in element $xmlobj.

<<less
Download (0.011MB)
Added: 2006-06-14 License: Perl Artistic License Price:
1228 downloads
XML::Atom 0.19

XML::Atom 0.19


XML::Atom is an Atom feed and API implementation. more>>
XML::Atom is an Atom feed and API implementation.

SYNOPSIS

use XML::Atom;

Atom is a syndication, API, and archiving format for weblogs and other data. XML::Atom implements the feed format as well as a client for the API.
<<less
Download (0.058MB)
Added: 2006-06-30 License: Perl Artistic License Price:
1211 downloads
XML::DOM 1.44

XML::DOM 1.44


XML::DOM is a perl module for building DOM Level 1 compliant document structures. more>>
XML::DOM is a perl module for building DOM Level 1 compliant document structures.

SYNOPSIS

use XML::DOM;

my $parser = new XML::DOM::Parser;
my $doc = $parser->parsefile ("file.xml");

# print all HREF attributes of all CODEBASE elements
my $nodes = $doc->getElementsByTagName ("CODEBASE");
my $n = $nodes->getLength;

for (my $i = 0; $i < $n; $i++)
{
my $node = $nodes->item ($i);
my $href = $node->getAttributeNode ("HREF");
print $href->getValue . "n";
}

# Print doc file
$doc->printToFile ("out.xml");

# Print to string
print $doc->toString;

# Avoid memory leaks - cleanup circular references for garbage collection
$doc->dispose;

This module extends the XML::Parser module by Clark Cooper. The XML::Parser module is built on top of XML::Parser::Expat, which is a lower level interface to James Clarks expat library.

XML::DOM::Parser is derived from XML::Parser. It parses XML strings or files and builds a data structure that conforms to the API of the Document Object Model as described at http://www.w3.org/TR/REC-DOM-Level-1. See the XML::Parser manpage for other available features of the XML::DOM::Parser class. Note that the Style property should not be used (it is set internally.)

The XML::Parser NoExpand option is more or less supported, in that it will generate EntityReference objects whenever an entity reference is encountered in character data. Im not sure how useful this is. Any comments are welcome.

As described in the synopsis, when you create an XML::DOM::Parser object, the parse and parsefile methods create an XML::DOM::Document object from the specified input. This Document object can then be examined, modified and written back out to a file or converted to a string.

When using XML::DOM with XML::Parser version 2.19 and up, setting the XML::DOM::Parser option KeepCDATA to 1 will store CDATASections in CDATASection nodes, instead of converting them to Text nodes. Subsequent CDATASection nodes will be merged into one. Let me know if this is a problem.
When using XML::Parser 2.27 and above, you can suppress expansion of parameter entity references (e.g. %pent;) in the DTD, by setting ParseParamEnt to 1 and ExpandParamEnt to 0. See Hidden Nodes for details.

A Document has a tree structure consisting of Node objects. A Node may contain other nodes, depending on its type. A Document may have Element, Text, Comment, and CDATASection nodes. Element nodes may have Attr, Element, Text, Comment, and CDATASection nodes. The other nodes may not have any child nodes.

This module adds several node types that are not part of the DOM spec (yet.) These are: ElementDecl (for < !ELEMENT ... > declarations), AttlistDecl (for < !ATTLIST ... > declarations), XMLDecl (for < ?xml ...? > declarations) and AttDef (for attribute definitions in an AttlistDecl.)

<<less
Download (0.14MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
1200 downloads
XML::DOM2 0.03

XML::DOM2 0.03


XML::DOM2 is a DOM controlled, strict XML module for extentable xml objects. more>>
XML::DOM2 is a DOM controlled, strict XML module for extentable xml objects.
XML::DOM2 is yet _another_ perl XML module.
Main features:
- DOM Level2 Compilence in both document, elements and attributes
- NameSpace control for elements and attributes
- XPath (its just one small method once you have a good DOM)
- Extendability:
- Document, Element or Attribute classes can be used as base class for other kinds of document, element or attribute.
- Element and Attribute Handler allows element specific child elements and attribute objects.
- Element and Attribute serialisation overiding.
- Parsing with SAX (use XML::SAX::PurePerl for low dependancy installs)
- Internal serialisation
<<less
Download (0.017MB)
Added: 2006-07-14 License: Perl Artistic License Price:
1199 downloads
XML::Sablotron::DOM 1.01

XML::Sablotron::DOM 1.01


XML::Sablotron::DOM is the DOM interface to Sablotrons internal structures. more>>
XML::Sablotron::DOM is the DOM interface to Sablotrons internal structures.

SYNOPSIS

use XML::Sablotron::DOM;

my $situa = new XML::Sablotron::Situation();
my $doc = new XML::Sablotron::DOM::Document(SITUATION => $sit);

my $e = $doc->createElement($situa, "foo");
my $t = $doc->createTextNode($situa, "this is my text");

print $doc->toString();

Sablotron uses internally the DOM-like data structures to represent parsed XML trees. In the sdom.h header file is defined a subset of functions allowing the DOM access to these structures.

<<less
Download (0.052MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
1198 downloads
XML::DOM::DocumentType 1.44

XML::DOM::DocumentType 1.44


XML::DOM::DocumentType is an XML document type (DTD) in XML::DOM. more>>
XML::DOM::DocumentType is an XML document type (DTD) in XML::DOM.

XML::DOM::DocumentType extends XML::DOM::Node.

Each Document has a doctype attribute whose value is either null or a DocumentType object. The DocumentType interface in the DOM Level 1 Core provides an interface to the list of entities that are defined for the document, and little else because the effect of namespaces and the various XML scheme efforts on DTD representation are not clearly understood as of this writing. The DOM Level 1 doesnt support editing DocumentType nodes.

Not In DOM Spec: This implementation has added a lot of extra functionality to the DOM Level 1 interface. To allow editing of the DocumentType nodes, see XML::DOM::ignoreReadOnly.

<<less
Download (0.11MB)
Added: 2006-07-17 License: Perl Artistic License Price:
1194 downloads
XML::DOM::Node 1.44

XML::DOM::Node 1.44


XML::DOM::Node is a super class of all nodes in XML::DOM. more>>
XML::DOM::Node is a super class of all nodes in XML::DOM.

XML::DOM::Node is the super class of all nodes in an XML::DOM document. This means that all nodes that subclass XML::DOM::Node also inherit all the methods that XML::DOM::Node implements.

GLOBAL VARIABLES

@NodeNames

The variable @XML::DOM::Node::NodeNames maps the node type constants to strings. It is used by XML::DOM::Node::getNodeTypeName.

<<less
Download (0.11MB)
Added: 2006-07-17 License: Perl Artistic License Price:
1194 downloads
XML::DOM::XMLDecl 1.44

XML::DOM::XMLDecl 1.44


XML::DOM::XMLDecl is a XML declaration in XML::DOM. more>>
XML::DOM::XMLDecl is a XML declaration in XML::DOM.

XML::DOM::XMLDecl extends XML::DOM::Node, but is not part of the DOM Level 1 specification.

It contains the XML declaration, e.g.

< ?xml version="1.0" encoding="UTF-16" standalone="yes"? >

See also XML::DOM::Document::getXMLDecl.

METHODS

getVersion and setVersion (version)

Returns and sets the XML version. At the time of this writing the version should always be "1.0"

getEncoding and setEncoding (encoding)

undef may be specified for the encoding value.

getStandalone and setStandalone (standalone)

undef may be specified for the standalone value.

<<less
Download (0.11MB)
Added: 2006-07-20 License: Perl Artistic License Price:
1191 downloads
XML::DOM::DOMImplementation 1.44

XML::DOM::DOMImplementation 1.44


XML::DOM::DOMImplementation is a information about XML::DOM implementation. more>>
XML::DOM::DOMImplementation is a information about XML::DOM implementation.

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

The DOM Level 1 does not specify a way of creating a document instance, and hence document creation is an operation specific to an implementation. Future Levels of the DOM specification are expected to provide methods for creating documents directly.

METHODS

hasFeature (feature, version)

Returns 1 if and only if feature equals "XML" and version equals "1.0".

<<less
Download (0.11MB)
Added: 2006-07-20 License: Perl Artistic License Price:
1191 downloads
XML::UM 0.01

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.)

<<less
Download (0.005MB)
Added: 2006-08-09 License: Perl Artistic License Price:
1172 downloads
XML::RDB 1.1

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).

<<less
Download (0.033MB)
Added: 2006-08-14 License: Perl Artistic License Price:
1166 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5