4XLink provides a processor that can be instansiated and used to acuate simple and extended "onLoad" XLinks.
The 4XLink Module
Module Summary
Class Summary | |
Processor | The XLink Processor |
The XLink Processor
Method Summary | |
runString | Expand all XLinks in a XML string |
runUri | Expand all XLinks in the resource referenced by the URI |
Method Details |
runString(source, reader = None)
Expand all XLinks in a XML string
ParametersReturn Value
source
of type string conforming to the XML specification
The string representing the source document
reader
of type object supporting the xml.dom.ext.reader.Reader interface
Used to read the string into DOM format
- a DOM node
The transformed document
runUri(uri, reader = None)
Expand all XLinks in the resource referenced by the URI
ParametersReturn Value
uri
of type string conforming to the URI specification
The resource to expand links in
reader
of type object supporting the Reader interface
Used to read the string into DOM format
- a DOM node
The transformed document