► Module Ft.Xml.Xslt.DomWriter
DOM DocumentFragment writer for XSLT output
Much inspired by RtfWriter.
Copyright (c) 2000-2001 Alexandre Fayolle (France).
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.
THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Classes
- class DomWriter(Ft.Xml.Xslt.NullWriter.NullWriter)
-
Methods
- __init__(self, ownerDoc=None, implementation=<DOMImplementation at 0xb7dc3448>, outputParams=None)
-
Note: if no ownerDoc, there is no way to set the document's base URI.
- Overrides: __init__ from class NullWriter
- attribute(self, name, value, namespace=None)
- Overrides: attribute from class NullWriter
- comment(self, text)
- Overrides: comment from class NullWriter
- endElement(self, name, namespace=None)
- Overrides: endElement from class NullWriter
- getResult(self)
- Overrides: getResult from class NullWriter
- processingInstruction(self, target, data)
- Overrides: processingInstruction from class NullWriter
- startElement(self, name, namespace=None, extraNss=None)
- Overrides: startElement from class NullWriter
- text(self, text, escapeOutput=True)
-
The escapeOutput parameter is ignored
- Overrides: text from class NullWriter
Globals
- EMPTY_NAMESPACE = None
- XMLNS_NAMESPACE = u'http://www.w3.org/2000/xmlns/'
- implementation = <DOMImplementation>
-
The DOMImplementation interface provides a number of methods for performing
operations that are independent of any particular instance of the document
object model.