Script: xmlcontent-element
A xmlcontent element tells where the module shall search for its content.
The template must have a processing instructions (PI) of type
importxml, see:
ImportXML
to realize the actual extraction of content.
A Module may contain any number of XMLContent elements.
<xmlcontent location=""/>
location(mandatory) |
Any string that represents a file, either as an absolute URI or
as an URI relative to the active anchor.
|
backuplocation(optional) |
Any string that represents a file, either as an absolute URI or
as an URI relative to the active anchor.
Is used if location for some reason
is not availabe. It is not a backup in the sense that the primary file is stored here.
It is up to you to supply a meaningfull backup file.
|
transformation(optional) |
A transformation identifier
(see:
Transformation
).
The transformation may have parameter list: T(name='ole',address='Halden').
This transformation is overruled by a possible transformation in the actual import PI.
|
id(optional) |
An id that identifies this xmlcontent in
importxml in a template.
|
A xmlcontent element may not contain any elements
Examples:
<xmlcontent location="${_scriptpath}/section3/myfile.xml"/>