xml and html
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3695
XML::Handler::HTMLWriter 2.01
XML::Handler::HTMLWriter is a SAX Handler for writing HTML 4.0. more>>
XML::Handler::HTMLWriter is a SAX Handler for writing HTML 4.0.
SYNOPSIS
use XML::Handler::HTMLWriter;
use XML::SAX;
my $writer = XML::Handler::HTMLWriter->new(...);
my $parser = XML::SAX::ParserFactory->parser(Handler => $writer);
...
This module is based on the rules for outputting HTML according to http://www.w3.org/TR/xslt - the XSLT specification. It is a subclass of XML::SAX::Writer, and the usage is the same as that module.
Usage
First create a new HTMLWriter object:
my $writer = XML::Handler::HTMLWriter->new(...);
The ... indicates parameters to be passed in. These are all passed in using the hash syntax: Key => Value.
All parameters are from XML::SAX::Writer, so please see its documentation for more details.
Now pass $writer to a SAX chain:
e.g. a SAX parser:
my $parser = XML::SAX::ParserFactory->parser(Handler => $writer);
Or a SAX filter:
my $tolower = XML::Filter::ToLower->new(Handler => $writer);
Or use in a SAX Machine:
use XML::SAX::Machines qw(Pipeline);
Pipeline(
XML::Filter::XSLT->new(Source => { SystemId => foo.xsl })
=>
XML::Handler::HTMLWriter->new
)->parse_uri(foo.xml);
Initiate processing
XML::Handler::HTMLWriter never initiates processing itself, since it is just a recepticle for SAX events. So you have to start processing on one of the modules higher up the chain. For example in the XML::SAX parser case:
$parser->parse(Source => { SystemId => "foo.xhtml" });
Get the results
Results work via the consumer interface as defined in XML::SAX::Writer.
<<lessSYNOPSIS
use XML::Handler::HTMLWriter;
use XML::SAX;
my $writer = XML::Handler::HTMLWriter->new(...);
my $parser = XML::SAX::ParserFactory->parser(Handler => $writer);
...
This module is based on the rules for outputting HTML according to http://www.w3.org/TR/xslt - the XSLT specification. It is a subclass of XML::SAX::Writer, and the usage is the same as that module.
Usage
First create a new HTMLWriter object:
my $writer = XML::Handler::HTMLWriter->new(...);
The ... indicates parameters to be passed in. These are all passed in using the hash syntax: Key => Value.
All parameters are from XML::SAX::Writer, so please see its documentation for more details.
Now pass $writer to a SAX chain:
e.g. a SAX parser:
my $parser = XML::SAX::ParserFactory->parser(Handler => $writer);
Or a SAX filter:
my $tolower = XML::Filter::ToLower->new(Handler => $writer);
Or use in a SAX Machine:
use XML::SAX::Machines qw(Pipeline);
Pipeline(
XML::Filter::XSLT->new(Source => { SystemId => foo.xsl })
=>
XML::Handler::HTMLWriter->new
)->parse_uri(foo.xml);
Initiate processing
XML::Handler::HTMLWriter never initiates processing itself, since it is just a recepticle for SAX events. So you have to start processing on one of the modules higher up the chain. For example in the XML::SAX parser case:
$parser->parse(Source => { SystemId => "foo.xhtml" });
Get the results
Results work via the consumer interface as defined in XML::SAX::Writer.
Download (0.007MB)
Added: 2007-08-08 License: Perl Artistic License Price:
810 downloads
Blatte::HTML 0.9
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. more>>
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte.
SYNOPSIS
use Blatte;
use Blatte::Builtins;
use Blatte::HTML;
$perl = &Blatte::Parse(...string of Blatte code...);
$val = eval $perl;
&Blatte::HTML::render($val, &emit);
sub emit {
print shift;
}
<<lessSYNOPSIS
use Blatte;
use Blatte::Builtins;
use Blatte::HTML;
$perl = &Blatte::Parse(...string of Blatte code...);
$val = eval $perl;
&Blatte::HTML::render($val, &emit);
sub emit {
print shift;
}
Download (0.014MB)
Added: 2007-04-20 License: Perl Artistic License Price:
917 downloads
XMLNews::HTMLTemplate 0.01
XMLNews::HTMLTemplate is Perl module for converting NITF to HTML. more>>
XMLNews::HTMLTemplate is Perl module for converting NITF to HTML.
SYNOPSIS
use XMLNews::HTMLTemplate;
my $template = new XMLNews::HTMLTemplate();
$template->readTemplate("mytemplate.html");
$template->applyTemplate("output.html", "story.xml", "story.rdf");
NOTE: this module requires the XML::Parser and XMLNews::Meta modules.
WARNING: this module is not thread-safe or re-entrant.
The XMLNews::HTMLTemplate module provides a simple mechanism for creating HTML pages from XML/NITF news stories and/or XML/RDF metadata files based on a user-supplied template file. The template is a simple HTML file (SGML or XML flavour) using special template commands, which the user includes as processing instructions, as in the following example:
To create an HTML page, you must first create an empty HTMLTemplate object:
my $template = new XMLNews::HTMLTemplate();
Next, you load the HTML template into the object:
$template->readTemplate("mytemplate.html");
Now, you can apply the same compiled template object repeatedly to different XML/NITF and/or XML/RDF documents to generate HTML pages:
$template->applyTemplate("outfile.html", "newsstory.xml", "newsstory.rdf");
<<lessSYNOPSIS
use XMLNews::HTMLTemplate;
my $template = new XMLNews::HTMLTemplate();
$template->readTemplate("mytemplate.html");
$template->applyTemplate("output.html", "story.xml", "story.rdf");
NOTE: this module requires the XML::Parser and XMLNews::Meta modules.
WARNING: this module is not thread-safe or re-entrant.
The XMLNews::HTMLTemplate module provides a simple mechanism for creating HTML pages from XML/NITF news stories and/or XML/RDF metadata files based on a user-supplied template file. The template is a simple HTML file (SGML or XML flavour) using special template commands, which the user includes as processing instructions, as in the following example:
To create an HTML page, you must first create an empty HTMLTemplate object:
my $template = new XMLNews::HTMLTemplate();
Next, you load the HTML template into the object:
$template->readTemplate("mytemplate.html");
Now, you can apply the same compiled template object repeatedly to different XML/NITF and/or XML/RDF documents to generate HTML pages:
$template->applyTemplate("outfile.html", "newsstory.xml", "newsstory.rdf");
Download (0.009MB)
Added: 2006-09-13 License: Perl Artistic License Price:
1136 downloads

XMLtoANY for Linux 1.0
uses XSLT to provide content from XML source and XSL stylesheet more>> XMLtoANY is a free servlet that uses XSLT to provide content from XML source and XSL stylesheet. Depending on incoming device request, XMLtoANY converts XML source into content (HTML, WML, XML, ...) viewable for the device. XML source could be local or remote (i.e : from a content-provider).
Setup xmlconfig parameter with the absolute path to xmltoany.xml file.
To do so, edit WEB-INF/web.xml and modify tag.
Note : If youre not familiar with J2EE then simply setup xmlconfig as an init parameter in your servlet engine.
Setup conf/xmltoany.xml by filling in and tags.
tag is the path to the XML source. It could be local
(e.g. : /aHardDiskPath/data/mysource.xml) or remote
(e.g : http://www.acontentprovider.com/channel/source.xml)
You can also setup the CACHE attribute to enable caching features. It is useful for remote source. Cache value is a time period in seconds. -1 means no cache.
tags define relations between device, content-type and xsl. For each target you have to setup the following nodes :
tag is the string that must match to the HTTP ACCEPT header from the devices request.
tag is the associated HTTP response content-type.
tag is the XSL stylesheet that converts XML to content viewable by the device matching to the current target.
If you have caching feature enabled you have to setup the CACHEFILE attribute with the absolute path to cache file.<<less
Download (973KB)
Added: 2009-04-17 License: Freeware Price: Free
189 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
Pod::Html 5.9.4
Pod::Html is a Perl module to convert pod files to HTML. more>>
Pod::Html is a Perl module to convert pod files to HTML.
SYNOPSIS
use Pod::Html;
pod2html([options]);
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.
<<lessSYNOPSIS
use Pod::Html;
pod2html([options]);
Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.
Download (13.6MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1159 downloads
HaXml 1.13
HaXml is a collection of utilities for parsing, filtering, transforming, and generating XML documents using Haskell. more>>
HaXml is a collection of utilities for parsing, transforming, filtering and generating XML documents using Haskell. Its basic facilities include:
- a parser for XML,
- a separate error-correcting parser for HTML,
- an XML validator,
- pretty-printers for XML and HTML.
For processing XML documents, the following components are provided:
Combinators is a combinator library for generic XML document processing, including transformation, editing, and generation.
Haskell2Xml is a replacement class for Haskells Show/Read classes: it allows you to read and write ordinary Haskell data as XML documents. The DrIFT tool (available from http://repetae.net/~john/computer/haskell/DrIFT/) can automatically derive this class for you.
DtdToHaskell is a tool for translating any valid XML DTD into equivalent Haskell types.
In conjunction with the Xml2Haskell class framework, this allows you to generate, edit, and transform documents as normal typed values in programs, and to read and write them as human-readable XML documents.
Finally, Xtract is a grep-like tool for XML documents, loosely based on the XPath and XQL query languages. It can be used either from the command-line, or within your own code as part of the library.
Enhancements:
- Add features/limitations/changes here
<<less- a parser for XML,
- a separate error-correcting parser for HTML,
- an XML validator,
- pretty-printers for XML and HTML.
For processing XML documents, the following components are provided:
Combinators is a combinator library for generic XML document processing, including transformation, editing, and generation.
Haskell2Xml is a replacement class for Haskells Show/Read classes: it allows you to read and write ordinary Haskell data as XML documents. The DrIFT tool (available from http://repetae.net/~john/computer/haskell/DrIFT/) can automatically derive this class for you.
DtdToHaskell is a tool for translating any valid XML DTD into equivalent Haskell types.
In conjunction with the Xml2Haskell class framework, this allows you to generate, edit, and transform documents as normal typed values in programs, and to read and write them as human-readable XML documents.
Finally, Xtract is a grep-like tool for XML documents, loosely based on the XPath and XQL query languages. It can be used either from the command-line, or within your own code as part of the library.
Enhancements:
- Add features/limitations/changes here
Download (0.42MB)
Added: 2006-01-20 License: LGPL (GNU Lesser General Public License) Price:
1372 downloads
XML::Grove 0.46 Alpha
XML::Grove is a Perl module with Perl-style XML objects. more>>
XML::Grove is a Perl module with Perl-style XML objects.
SYNOPSIS
use XML::Grove;
# Basic parsing and grove building
use XML::Grove::Builder;
use XML::Parser::PerlSAX;
$grove_builder = XML::Grove::Builder->new;
$parser = XML::Parser::PerlSAX->new ( Handler => $grove_builder );
$document = $parser->parse ( Source => { SystemId => filename } );
# Creating new objects
$document = XML::Grove::Document->new ( Contents => [ ] );
$element = XML::Grove::Element->new ( Name => tag,
Attributes => { },
Contents => [ ] );
# Accessing XML objects
$tag_name = $element->{Name};
$contents = $element->{Contents};
$parent = $element->{Parent};
$characters->{Data} = XML is fun!;
XML::Grove is a tree-based object model for accessing the information set of parsed or stored XML, HTML, or SGML instances. XML::Grove objects are Perl hashes and arrays where you access the properties of the objects using normal Perl syntax:
$text = $characters->{Data};
<<lessSYNOPSIS
use XML::Grove;
# Basic parsing and grove building
use XML::Grove::Builder;
use XML::Parser::PerlSAX;
$grove_builder = XML::Grove::Builder->new;
$parser = XML::Parser::PerlSAX->new ( Handler => $grove_builder );
$document = $parser->parse ( Source => { SystemId => filename } );
# Creating new objects
$document = XML::Grove::Document->new ( Contents => [ ] );
$element = XML::Grove::Element->new ( Name => tag,
Attributes => { },
Contents => [ ] );
# Accessing XML objects
$tag_name = $element->{Name};
$contents = $element->{Contents};
$parent = $element->{Parent};
$characters->{Data} = XML is fun!;
XML::Grove is a tree-based object model for accessing the information set of parsed or stored XML, HTML, or SGML instances. XML::Grove objects are Perl hashes and arrays where you access the properties of the objects using normal Perl syntax:
$text = $characters->{Data};
Download (0.027MB)
Added: 2006-10-25 License: GPL (GNU General Public License) Price:
1095 downloads
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.
<<lessThe current release of XML Toolkit is almost complete.
Check the source code to see the project status.
Download (0.033MB)
Added: 2005-12-09 License: GPL (GNU General Public License) Price:
1417 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::DocStats 0.01
XML::DocStats is a Perl module to produce a simple analysis of an XML document. more>>
XML::DocStats is a Perl module to produce a simple analysis of an XML document.
SYNOPSIS
Analyze the xml document on STDIN, the STDOUT output format is html:
use XML::DocStats;
my $parse = XML::DocStats->new;
$parse->analyze;
Analyze in-memory xml document:
use XML::DocStats;
my ($xmldata) = @_;
my $parse = XML::DocStats->new(xmlsource=>{String => $xmldata},
BYTES => length($xmldata));
$parse->analyze;
Analyze xml document IO stream, the output format is plain text:
use XML::DocStats;
use IO::File;
my $xmlsource = IO::File->new("< document.xml");
my $parse = XML::DocStats->new(xmlsource=>{ByteStream => $xmlsource});
$parse->format(text);
$parse->analyze;
XML::DocStats parses an xml document using a SAX handler built using Ken MacLeods XML::Parser::PerlSAX. It produces a listing indented to show the element heirarchy, and collects counts of various xml components along the way. A summary of the counts is produced following the conclusion of the parse. This is useful to visualize the structure and content of an XML document.
The output listing is either in plain text or html.
Each xml thingy is color-coded in the html output for easy reading:
- purple denotes elements.
- blue denotes text (character data). The text itself is black.
- olive denotes attributes and attribute valuesin elements, XML-DCL, DOCTYPE, and PIs.
- fuchsia denotes entity references. The name of the entity is in black. fuchsia is also used to denote the root element, and to mark the start and finish of the parse, as well as to label the statistices at the end.
- teal denotes the XML declaration.
- navy denotes the DOCTYPE declaration.
- maroon denotes PIs (processing instructions).
- green denotes comments. The text of the comment is black.
- red denotes error messages should the xml fail to be well-formed.
<<lessSYNOPSIS
Analyze the xml document on STDIN, the STDOUT output format is html:
use XML::DocStats;
my $parse = XML::DocStats->new;
$parse->analyze;
Analyze in-memory xml document:
use XML::DocStats;
my ($xmldata) = @_;
my $parse = XML::DocStats->new(xmlsource=>{String => $xmldata},
BYTES => length($xmldata));
$parse->analyze;
Analyze xml document IO stream, the output format is plain text:
use XML::DocStats;
use IO::File;
my $xmlsource = IO::File->new("< document.xml");
my $parse = XML::DocStats->new(xmlsource=>{ByteStream => $xmlsource});
$parse->format(text);
$parse->analyze;
XML::DocStats parses an xml document using a SAX handler built using Ken MacLeods XML::Parser::PerlSAX. It produces a listing indented to show the element heirarchy, and collects counts of various xml components along the way. A summary of the counts is produced following the conclusion of the parse. This is useful to visualize the structure and content of an XML document.
The output listing is either in plain text or html.
Each xml thingy is color-coded in the html output for easy reading:
- purple denotes elements.
- blue denotes text (character data). The text itself is black.
- olive denotes attributes and attribute valuesin elements, XML-DCL, DOCTYPE, and PIs.
- fuchsia denotes entity references. The name of the entity is in black. fuchsia is also used to denote the root element, and to mark the start and finish of the parse, as well as to label the statistices at the end.
- teal denotes the XML declaration.
- navy denotes the DOCTYPE declaration.
- maroon denotes PIs (processing instructions).
- green denotes comments. The text of the comment is black.
- red denotes error messages should the xml fail to be well-formed.
Download (0.027MB)
Added: 2006-09-07 License: Perl Artistic License Price:
1143 downloads
bib2html 6.1
bib2html is a Perl script which permits to create a set of HTML pages or an XML file from a BibTeX file. more>>
bib2html is a Perl script which permits to create a set of HTML pages or an XML file from a BibTeX file.
bib2html proposes a convenient look and a lot of features (PDF downloading, scientifical domain tree...).
Enhancements:
- When the "pdf" field is related to a local file, it will be replaced by the field "localfile".
<<lessbib2html proposes a convenient look and a lot of features (PDF downloading, scientifical domain tree...).
Enhancements:
- When the "pdf" field is related to a local file, it will be replaced by the field "localfile".
Download (0.58MB)
Added: 2007-04-17 License: GPL (GNU General Public License) Price:
920 downloads
XML::DOM::Lite::XSLT 0.15
XML::DOM::Lite::XSLT is Perl module XSLT engine for XML::DOM::Lite. more>>
[COPYRIGHT]
SYNOPSIS
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);
<<lessSYNOPSIS
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);
Download (0.031MB)
Added: 2006-11-30 License: Perl Artistic License Price:
1059 downloads
XML::DOM::Text 1.44
XML::DOM::Text is a piece of XML text in XML::DOM. more>>
XML::DOM::Text is a piece of XML text in XML::DOM.
XML::DOM::Text extends XML::DOM::CharacterData, which extends XML::DOM::Node.
The Text interface represents the textual content (termed character data in XML) of an Element or Attr. If there is no markup inside an elements content, the text is contained in a single object implementing the Text interface that is the only child of the element. If there is markup, it is parsed into a list of elements and Text nodes that form the list of children of the element.
When a document is first made available via the DOM, there is only one Text node for each block of text. Users may create adjacent Text nodes that represent the contents of a given element without any intervening markup, but should be aware that there is no way to represent the separations between these nodes in XML or HTML, so they will not (in general) persist between DOM editing sessions. The normalize() method on Element merges any such adjacent Text objects into a single node for each block of text; this is recommended before employing operations that depend on a particular document structure, such as navigation with XPointers.
METHODS
splitText (offset)
Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblings. This node then only contains all the content up to the offset point. And a new Text node, which is inserted as the next sibling of this node, contains all the content at and after the offset point.
Parameters: offset The offset at which to split, starting from 0.
Return Value: The new Text node.
DOMExceptions:
INDEX_SIZE_ERR
Raised if the specified offset is negative or greater than the number of characters in data.
NO_MODIFICATION_ALLOWED_ERR
Raised if this node is readonly.
<<lessXML::DOM::Text extends XML::DOM::CharacterData, which extends XML::DOM::Node.
The Text interface represents the textual content (termed character data in XML) of an Element or Attr. If there is no markup inside an elements content, the text is contained in a single object implementing the Text interface that is the only child of the element. If there is markup, it is parsed into a list of elements and Text nodes that form the list of children of the element.
When a document is first made available via the DOM, there is only one Text node for each block of text. Users may create adjacent Text nodes that represent the contents of a given element without any intervening markup, but should be aware that there is no way to represent the separations between these nodes in XML or HTML, so they will not (in general) persist between DOM editing sessions. The normalize() method on Element merges any such adjacent Text objects into a single node for each block of text; this is recommended before employing operations that depend on a particular document structure, such as navigation with XPointers.
METHODS
splitText (offset)
Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblings. This node then only contains all the content up to the offset point. And a new Text node, which is inserted as the next sibling of this node, contains all the content at and after the offset point.
Parameters: offset The offset at which to split, starting from 0.
Return Value: The new Text node.
DOMExceptions:
INDEX_SIZE_ERR
Raised if the specified offset is negative or greater than the number of characters in data.
NO_MODIFICATION_ALLOWED_ERR
Raised if this node is readonly.
Download (0.11MB)
Added: 2006-07-20 License: GPL (GNU General Public License) Price:
1191 downloads
OPEN BEXI HTML Builder 1.6
OPEN BEXI HTML Builder is a WYSIWYG HTML editor. more>>
OPEN BEXI HTML Builder is a WYSIWYG HTML editor which allows you to create Web pages and generate HTML code from your browser without any HTML knowledge.
It lets you create, update, and remove HTML components. OPEN BEXI HTML Builder is suitable for beginners and experts.
<<lessIt lets you create, update, and remove HTML components. OPEN BEXI HTML Builder is suitable for beginners and experts.
Download (1.8MB)
Added: 2007-04-05 License: GPL (GNU General Public License) Price:
939 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 and html 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