Project | WXT | Basics | Download | Documentation | Samples

Script: odfcontent-element

A odfcontent element tells where the module shall search for its content. The template of the module must have a processing instructions (PI) of type importodf, see: ImportODF to realize the actual extraction of content.

A Module may contain any number of ODFContent elements.

<odfcontent 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.
id(optional) An id that identifies this odfcontent in importodf in a template.

A odfcontent element may not contain any elements

Examples:

<odfcontent location="${_scriptpath}/section3/myfile.odt"/>