Ruby/XSLT

Ruby/XSLT is a simple XSLT class based on libxml and libxslt

Download

Developpement

Stable

Olds

[top]

Documentation

XML::XSLT - A Ruby class for processing XSLT

SYNOPSIS

require 'xml/xslt'
xslt = XML::XSLT.new()
xslt.xsl = xsl_string
xslt.xml = xml_string
out = xslt.serve()
print out;

METHODS

XML::XSLT.new()
Returns a new XSLT parser object
XML::XSLT.xml=
Set XML document
XML::XSLT.xmlfile=
Set XML file
XML::XSLT.xsl=
Set XSL document
XML::XSLT.xslfile=
Set XSL file
XML::XSLT.xml
Get XML document or file
XML::XSLT.xsl
Get XSL document or file
XML::XSLT.serve()
Processes the given XML through the stylesheet. Returns a string containg the result.
XML::XSLT.save( file )
Processes the given XML through the stylesheet. Returns a string containg the result and save it to file.

[top]

Licence

Copyright (C) 2003 Gregoire Lejeune <gregoire.lejeune@free.fr>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
[top]

Style : [ mozilla | blue | print | basic ]

Valid HTML 4.01! Valid CSS! mod_ruby

Copyright © 2003, Grégoire Lejeune.