Script: htmlcontent-element
A htmlcontent element tells where the module shall search for HTML content. The template must have a processing instructions (PI) of type importxml, see: ImportHTML to realize the actual extraction of content.
A Module may contain any number of XMLContent elements.
<htmlcontent 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 htmlcontent in importhtml in a template. |
A htmlcontent element may not contain any elements
Examples:
<htmlcontent location="${_scriptpath}/section3/myfile.html"/>
or
<htmlcontent location="http://no.wikipedia.org/wiki/Halden"/>