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
sourceof type string conforming to the XML specification
The string representing the source document
readerof 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
uriof type string conforming to the URI specification
The resource to expand links in
readerof type object supporting the Reader interface
Used to read the string into DOM format
- a DOM node
The transformed document