Main > Free Download Search >

Free xml output from sql software for linux

xml output from sql

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4623
XML::Output 0.03

XML::Output 0.03


XML::Output is a Perl module for writing simple XML documents. more>>
XML::Output is a Perl module for writing simple XML documents.

SYNOPSIS

use XML::Output;

open(FH,>file.xml);
my $xo = new XML::Output({fh => *FH});
$xo->open(tagname, {attrname => attrval});
$xo->pcdata(element content);
$xo->close();
close(FH);

ABSTRACT

XML::Output is a Perl module for writing simple XML documents

XML::Output is a Perl module for writing simple XML document. The following methods are provided.

new
$xo = new XML::Output;
Constructs a new XML::Output object.

open
$xo->open(tagname, {attrname => attrval});
Open an element with specified name (and optional attributes)

close
$xo->close;
Close an element

empty
$xo->empty(tagname, {attrname => attrval});
Insert an empty element with specified name (and optional attributes)

pcdata
$xo->pcdata(element content);
Insert text

comment
$xo->comment(comment text);
Insert a comment

xmlstr
print $xo->xmlstr;
Get a string representation of the constructed document

<<less
Download (0.035MB)
Added: 2006-09-07 License: GPL (GNU General Public License) Price:
1144 downloads
XML From Plain Text 0.03

XML From Plain Text 0.03


XML From Plain Text is a program that reads a file of plain text that contains relatively simple markup, and outputs an XML file more>>
XML From Plain Text (xfpt) is a program that reads a file of plain text that contains relatively simple markup, and outputs an XML file. It is intended to simplify the management of XML data.
The project is not a program that attempts to turn a plain text document into XML. Markup within text is introduced by ampersand characters, but is otherwise "soft". You can define what follows the ampersand, for example, &" to generate a "quote" element. There is also a macro facility that allows for higher level concepts such as chapters, displays, tables, etc.
Enhancements:
- The macro library has been extended to include preface, appendix, colophon, footnote, figure, and table.
- The program has one new directive to enable it to handle "nested" sections such as footnotes.
<<less
Download (0.13MB)
Added: 2007-07-07 License: GPL (GNU General Public License) Price:
840 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 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
XmlAutoIndex 0.03

XmlAutoIndex 0.03


XmlAutoIndex (xai) is a module forApache written in perl that browses your directories and outputs it into Xml. more>>
XmlAutoIndex (xai) is a module for Apache written in perl that browses your directories and outputs it into Xml.

The aim of this project is to replace mod_autoindex in Apache:
I would like to separate data from design, that is why I have made a xml output.

After that, using Xslt you can translate it into Html, Svg or Xul for example (you can make your own theme by updating xsl style sheet and with never touching the core engine).

Each plugins are indepentant and are here to generate thumbnails, previews, etc... Each previews, meta-data are cached in a cache directory to accelerate http queries. bonus: I have included in engine a handler that allows you to add comments per file, this behaviour does not require SQL server because comments are saved in files caches meta-data.

<<less
Download (1.3MB)
Added: 2006-09-06 License: GPL (GNU General Public License) Price:
1143 downloads
XML::EasySQL 1.2

XML::EasySQL 1.2


XML::EasySQL is a two-way SQL/XML base class for Perl. more>>
XML::EasySQL is a two-way SQL/XML base class for Perl.
SYNOPSIS
...
# fetch a database row as hash ref
my $data = $db->selectrow_hashref(select * from users where id = 2);
# init the new EasySQL data object
my $data_object = EasySqlChildClass->new({data=>$data});
# get the root XML element
my $xml = $data_object->getXML();
# make changes to the XML document
$xml->username->setString(curtisleefulton);
$xml->bio->setAttr(age, 22);
$xml->bio->city->setString(Portland);
$xml->history->access->setAttr(last, time());
# output entire XML doc as string to STDOUT
print $xml->getDomObj->toString();
# update the database
my $sql = $data_object->getSQL();
my $q = "update users set ".$sql->{users}." where id = 2";
$db->do($q);
Main features:
- Two-way transforms between XML and SQL data
- smart SQL updates: only altered tables are updated
- unlimited tree depth
- multiple SQL tables can merge intone XML tree, then back again
- precise control over how data is translated
- offers either an easy XML interface or plain DOM
- database independent
<<less
Download (0.011MB)
Added: 2006-09-12 License: Perl Artistic License Price:
1137 downloads
XML::QL 0.07

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.

<<less
Download (0.008MB)
Added: 2006-10-25 License: GPL (GNU General Public License) Price:
1097 downloads
XML::Mini::Document 1.2.8

XML::Mini::Document 1.2.8


XML::Mini::Document is a Perl implementation of the XML::Mini Document API. more>>
XML::Mini::Document is a Perl implementation of the XML::Mini Document API.

SYNOPSIS

use XML::Mini::Document;


use Data::Dumper;


###### PARSING XML #######

# create a new object
my $xmlDoc = XML::Mini::Document->new();

# init the doc from an XML string
$xmlDoc->parse($XMLString);

# You may use the toHash() method to automatically
# convert the XML into a hash reference
my $xmlHash = $xmlDoc->toHash();

print Dumper($xmlHash);


# You can also manipulate the elements like directly, like this:

# Fetch the ROOT element for the document
# (an instance of XML::Mini::Element)
my $xmlRoot = $xmlDoc->getRoot();

# play with the element and its children
# ...
my $topLevelChildren = $xmlRoot->getAllChildren();

foreach my $childElement (@{$topLevelChildren})
{
# ...
}


###### CREATING XML #######

# Create a new document from scratch

my $newDoc = XML::Mini::Document->new();

# This can be done easily by using a hash:
my $h = {
spy => {
id => 007,
type => SuperSpy,
name => James Bond,
email => mi5@london.uk,
address => Wherever he is needed most,
},
};

$newDoc->fromHash($h);



# Or new XML can also be created by manipulating
#elements directly:

my $newDocRoot = $newDoc->getRoot();

# create the < ? xml ? > header
my $xmlHeader = $newDocRoot->header(xml);
# add the version
$xmlHeader->attribute(version, 1.0);

my $person = $newDocRoot->createChild(person);

my $name = $person->createChild(name);
$name->createChild(first)->text(John);
$name->createChild(last)->text(Doe);

my $eyes = $person->createChild(eyes);
$eyes->attribute(color, blue);
$eyes->attribute(number, 2);

# output the document
print $newDoc->toString();

This example would output :

< ?xml version="1.0"?>
< person>
< name>
< first>
John
< /first>
< last>
Doe
< /last>
< /name>
< eyes color="blue" number="2" />
< /person>

The XML::Mini::Document class is the programmers handle to XML::Mini functionality.
A XML::Mini::Document instance is created in every program that uses XML::Mini. With the XML::Mini::Document object, you can access the root XML::Mini::Element, find/fetch/create elements and read in or output XML strings.

<<less
Download (0.034MB)
Added: 2006-09-14 License: Perl Artistic License Price:
1135 downloads
XML::DOM::Lite 0.10

XML::DOM::Lite 0.10


XML::DOM::Lite is a Lite Pure Perl XML DOM Parser Kit. more>>
XML::DOM::Lite is a Lite Pure Perl XML DOM Parser Kit.

SYNOPSIS

# Parser
use XML::DOM::Lite qw(Parser :constants);

$parser = Parser->new( %options );
$doc = Parser->parse($xmlstr);
$doc = Parser->parseFile(/path/to/file.xml);

# strip whitespace (can be about 30% faster)
$doc = Parser->parse($xml, whitespace => strip);


# All Nodes
$copy = $node->cloneNode($deep);
$nodeType = $node->nodeType;
$parent = $node->parentNode;
$name = $node->nodeName;
$xmlstr = $node->xml;
$owner = $node->ownerDocument;

# Element Nodes
$first = $node->firstChild;
$last = $node->lastChild;
$tag = $node->tagName;
$prev = $node->nextSibling;
$next = $node->previousSibling;

$node->setAttribute("foo", $bar);
$foo = $node->getAttribute("foo");
foreach my $attr (@{$node->attributes}) { # attributes as nodelist
# ... do stuff
}
$node->attributes->{foo} = "bar"; # or as hashref (overload)

$liveNodeList = $node->getElementsByTagName("child"); # deep

$node->insertBefore($newchild, $refchild);
$node->replaceChild($newchild, $refchild);


# Text Nodes
$nodeValue = $node->nodeValue;
$node->nodeValue("new text value");

# Processing Instruction Nodes
# CDATA Nodes
# Comments
$data = $node->nodeValue;

# NodeList
$item = $nodeList->item(42);
$index = $nodeList->nodeIndex($node);
$nlist->insertNode($newNode, $index);
$removed = $nlist->removeNode($node);
$length = $nlist->length; # OR scalar(@$nodeList)


# NodeIterator and NodeFilter
use XML::DOM::Lite qw(NodeIterator :constants);

$niter = NodeIterator->new($rootnode, SHOW_ELEMENT, {
acceptNode => sub {
my $n = shift;
if ($n->tagName eq wantme) {
return FILTER_ACCEPT;
} elsif ($n->tagName eq skipme) {
return FILTER_SKIP;
} else {
return FILTER_REJECT;
}
}
);
while (my $n = $niter->nextNode) {
# do stuff
}

# XSLT
use XML::DOM::Lite qw(Parser XSLT);
$parser = Parser->new( whitespace => strip );
$xsldoc = $parser->parse($xsl);
$xmldoc = $parser->parse($xml);
$output = XSLT->process($xmldoc, $xsldoc);


# XPath
use XML::DOM::Lite qw(XPath);
$result = XPath->evaluate(/path/to/*[@attr="value"], $contextNode);


# Document
$rootnode = $doc->documentElement;
$nodeWithId = $doc->getElementById("my_node_id");
$textnode = $doc->createTextNode("some text string");
$element = $doc->createElement("myTagName");
$docfrag = $doc->createDocumentFragment();
$xmlstr = $doc->xml;
$nlist = $doc->selectNodes(/xpath/expression);
$node = $doc->selectSingleNode(/xpath/expression);


# Serializer
use XML::DOM::Lite qw(Serializer);

$serializer = Serializer->new;
$xmlout = $serializer->serializeToString($node);

<<less
Download (0.030MB)
Added: 2006-07-14 License: Perl Artistic License Price:
1199 downloads
XML::XPathScript::Processor 0.14

XML::XPathScript::Processor 0.14


XML::XPathScript::Processor is the XML transformation engine in XML::XPathScript. more>>
XML::XPathScript::Processor is the XML transformation engine in XML::XPathScript.

SYNOPSIS

In a stylesheet ->{testcode} sub for e.g. Docbooks < ulink > tag:
my $url = findvalue(@url,$self);
if (findnodes("node()", $self)) {
# ...
$t->{pre}=qq< a href="$url" >;
$t->{post}=qq< /a >;
return DO_SELF_AND_KIDS;
} else {
$t->{pre}=qq< a href="$url" >$url< /a >;
$t->{post}=qq;
return DO_SELF_ONLY;
};
At the stylesheets top-level one often finds:
< %= apply_templates() % >

The XML::XPathScript distribution offers an XML parser glue, an embedded stylesheet language, and a way of processing an XML document into a text output. This package implements the latter part: it takes an already filled out $t template hash and an already parsed XML document (which come from XML::XPathScript behind the scenes), and provides a simple API to implement stylesheets. In particular, the "apply_templates" function triggers the recursive expansion of the whole XML document when used as shown in "SYNOPSIS".

<<less
Download (0.026MB)
Added: 2006-09-18 License: Perl Artistic License Price:
1131 downloads
XML::DifferenceMarkup 1.00

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

<<less
Download (0.056MB)
Added: 2007-08-17 License: Perl Artistic License Price:
798 downloads
XML::Smart::Tutorial 1.6.9

XML::Smart::Tutorial 1.6.9


XML::Smart::Tutorial is a Perl module with tutorials and examples for XML::Smart. more>>
XML::Smart::Tutorial is a Perl module with tutorials and examples for XML::Smart.

SYNOPSIS

This document is a tutorial for XML::Smart and shows some examples of usual things.

<<less
Download (0.049MB)
Added: 2006-09-12 License: GPL (GNU General Public License) Price:
1144 downloads
PHP Mini SQL Admin 1.4.070327

PHP Mini SQL Admin 1.4.070327


PHP Mini SQL Admin is a light, standalone script for accessing MySQL databases. more>>
PHP Mini SQL Admin is a light, standalone script for accessing MySQL databases. PHP Mini SQL Admin is intended for Web developers and requires knowledge of SQL commands.

<<less
Download (0.004MB)
Added: 2007-03-28 License: GPL (GNU General Public License) Price:
943 downloads
xfpt 0.00

xfpt 0.00


xfpt is a program that reads a file of plain text that contains relatively simple markup, and outputs an XML file. more>>
xfpt is a program that reads a file of plain text that contains relatively simple markup, and outputs an XML file.

xfpt project is intended to simplify the management of XML data. It is not a program that attempts to turn a plain text document into XML. Markup within text is introduced by ampersand characters, but is otherwise "soft".

You can define what follows the ampersand, for example, &" to generate a "quote" element. There is also a macro facility that allows for higher level concepts such as chapters, displays, tables, etc.

Installation:

It should just be a matter of typing

./configure
make
make install

to get youself an installed xfpt command. There is a man page that lists the
command arguments. However, the main documentation is provided only as a PDF
file in the doc directory. The xfpt source that was used to create the XML that
in turn was used to generate the PDF is also included. You can get rid of xfpt
by "make uninstall".
<<less
Download (0.12MB)
Added: 2006-01-23 License: GPL (GNU General Public License) Price:
1369 downloads
Oracle::SQL 0.01

Oracle::SQL 0.01


Oracle::SQL is a Perl extension for building SQL statements. more>>
Oracle::SQL is a Perl extension for building SQL statements.

SYNOPSIS

use Oracle::SQL;
No automatically exported routines. You have to specifically to import the methods into your package.
use Oracle::SQL qw(:sql);
use Oracle::SQL /:sql/;
use Oracle::SQL :sql;

This is a package initializing object for Oracle::SQL::Builder.

<<less
Download (0.008MB)
Added: 2006-09-02 License: Perl Artistic License Price:
1152 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5