NAME
XML::Xalan::XObject - Base class for XSLT data type classes
SYNOPSIS
use XML::Xalan;
...
DESCRIPTION
Arguments passed to and the value returned from an XLST function will be of type of one of the classes derived from XML::Xalan::XObject
: XML::Xalan::Boolean
, XML::Xalan::Number
, XML::Xalan::String
, XML::Xalan::NodeSet
, or XML::Xalan::Scalar
.
XML::Xalan::NodeSet
All location path expressions will return an object of this type, even if the expression only returns a single attribute or a text node (node set with one member).
Methods
- $nodeset->number()
-
Returns the numeric representation (a numeric scalar).
- $nodeset->string()
-
Returns the stringified nodeset (a string scalar).
- $nodeset->boolean()
-
Returns the boolean representation.
- $nodeset->get_nodelist()
-
Returns a list of XML::Xalan::DOM node objects.
XML::Xalan::String
XSLT string() function returns an object of this type.
Methods
XML::Xalan::Number
XSLT number() function returns an object of this type.
Methods
XML::Xalan::Boolean
XSLT conditional expression returns an object of this type.
Methods
XML::Xalan::Scalar
A Perl scalar. Useful if your extension function returns a value which doesn't suit to any of the above XSLT built-in data types, for example a blessed reference.
Methods
BUGS
XML::Xalan::ResultTreeFragment
isn't supported yet.
AUTHOR
Edwin Pratomo, edpratomo@cpan.org
SEE ALSO
XML::Xalan::Transformer
(3), XML::Xalan::DOM
(3), XML::Xalan::XObjectFactory
(3).