Home > Contents > Index >
EXPORT.EXPORT
Generates one or more static pages from a Sites page name.
Syntax
<EXPORT.EXPORT PAGE="page name" FOLDER="folder name" WEBFOLDER="folder name" LIST="variable name"/>Parameters
PAGE
- Name of the page to export.
FOLDER
- Name of the folder where the pages are written.
WEBFOLDER
- URL prefix for all exported pages. For example, in the URL
mysite.com/foofolder/index.html
,foofolder
is the prefix.
LIST
- Name of the output list.
Example
This example is taken from the JumpStart demonstration.
<IF COND="Variables.operation=display"> <THEN> <!-- Displaying page --> <export.display page="Variables.exportpage" /> </THEN> <ELSE> <TIME.SET NAME="counter"/> <!-- Exporting page --> <export.export page="Variables.exportpage" folder="Variables.folder" webfolder="Variables.webfolder" list = "myinventory"/> <IF COND="IsList.myinventory=true"> <THEN> <TABLE BORDER="1"> <TH>Status</TH> <TH>File Name</TH> <TH>Key</TH> <TH>Query String</TH> <LOOP LIST="myinventory"> <TR> <TD> <CENTER> <IF COND="myinventory.status=not processed"> <THEN>--</THEN> <ELSE><CSVAR NAME="myinventory.status"/></ELSE> </IF> </CENTER> </TD> <TD> <CSVAR NAME="myinventory.fname"/> </TD> <TD> <CSVAR NAME="myinventory.key"/> </TD> <TD> <CSVAR NAME="myinventory.qry"/> </TD> </TR> </LOOP> </TABLE> </THEN> </IF> <P>Elapsed time: <TIME.GET NAME="counter"/> ms.</P> </ELSE> </IF>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.