Template::Plugin::XML::LibXML 1.07
Template::Plugin::XML::LibXML is a XML::LibXML Template Toolkit Plugin. SYNOPSIS [% USE docroot = XML.LibXML("helloworld.xml
|
|||||||||||||||||||
Template::Plugin::XML::LibXML is a XML::LibXML Template Toolkit Plugin.
SYNOPSIS
[% USE docroot = XML.LibXML("helloworld.xml") %]
The message is: [% docroot.find("/greeting/text") %]
This module provides a plugin for the XML::LibXML module. It can be utilised the same as any other Template Toolkit plugin, by using a USE statement from within a Template. The use statment will return a reference to root node of the parsed document
Specifying a Data Source
The plugin is capable of using either a string, a filename or a filehandle as a source for either XML data, or HTML data which will be converted to XHTML internally.
The USE statement can take one or more arguments to specify what XML should be processed. If only one argument is passed then the plugin will attempt to guess how what it has been passed should be interpreted.
When it is forced to guess what type of data it is used the routine will first look for an open filehandle, which if it finds it will assume it's a filehandle to a file containing XML. Failing this (in decreasing order) it will look for the chars "
tags
Download Template::Plugin::XML::LibXML 1.07
Authors software
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
