4Suite API Documentation

Module Ft.Xml.Xslt._4xslt

Implementation of '4xslt' command (functions defined here are used by the Ft.Lib.CommandLine framework)
Copyright 2006 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class XsltCommandLineApp(Ft.Lib.CommandLine.CommandLineApp.CommandLineApp)

Methods

run(self, options, arguments)
Overrides: run from class CommandLineApp
validate_options(self, options)
Overrides: validate_options from class CommandLineApp

Methods inherited from class Ft.Lib.CommandLine.CommandLineApp.CommandLineApp

Methods inherited from class Ft.Lib.CommandLine.Command.Command

Members

arguments = [<Ft.Lib.CommandLine.Arguments.RequiredArgument instance>, <Ft.Lib.CommandLine.Arguments.ZeroOrMoreArgument instance>]
description = '4XSLT command-line application'
name = '4xslt'
options = [[--validate], [--ignore], [--media=<MEDIA>], [--define=<NAME=VALUE>], [--prefix=<PREFIX=NSURI>], [--alt-sty-path=<PATH>], [--alt-sty-uri=<URI>], [--outfile=<FILE>], [--stacktrace-on-error], [--noxinclude], [--trace], [--trace-file=<FILE>], [[--reflex] | [--compile] | [--instant] | [--chain]], [--time], [--msg-prefix=<STRING>], [--msg-suffix=<STRING>], [--no-messages]]
project_name = '4Suite-XML'
project_url = 'http://4suite.org/'
project_version = '1.1a0'
summary = 'command-line tool for performing XSLT transformations on XMLdocuments'

Members inherited from class Ft.Lib.CommandLine.CommandLineApp.CommandLineApp

Functions

ReportFatalException(e, stacktrace_on_error=False)
Formats various exceptions; raises SystemExit, never returns.
Run(options, args)
SplitQName(qualifiedName)
SplitQName(qualifiedName) -> (prefix, localName)
where 'qualifiedName' is a QName according to XML Namespaces 1.0
<http://www.w3.org/TR/REC-xml-names>.
returns the name parts according to the spec.
StringIO([s])
StringIO([s]) -- Return a StringIO-like stream for reading or writing
StySourceArgToInputSource(arg, factory, *v_args, **kw_args)
A wrapper for SourceArgToInputSource().
If an InputSource cannot be created from the source argument,
then the argument is resolved against alternative stylesheet base
URIs (if any) until an InputSource is successfully created or the
list of URIs is exhausted.
default_timer = time()
time() -> floating point number
Return the current time in seconds since the Epoch.
Fractions of a second may be present if the system clock provides them.

Globals

DefaultFactory = <Ft.Xml.InputSource.InputSourceFactory instance>
MAX_PYTHON_RECURSION_DEPTH = 10000
g_paramBindingPattern = <_sre.SRE_Pattern object>
g_prefixBindingPattern = <_sre.SRE_Pattern object>