XSLTGen.property DataWindow object property
Description
Settings that specify the physical path to which the generated
XSLT style sheet is published and the URL referenced by the JavaScript
that transforms the XML to XHTML.
Controls
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.XSLTGen.<span>property</span> |
Describe and Modify argument:
|
1 |
"<span></span>DataWindow.XSLTGen.<span>property</span> { = '<span> value </span>' }" |
|
Parameter |
Description |
|---|---|
|
property |
One of the following:
|
|
value |
(exp) PublishPath – A (exp) ResourceBase – A string |
Usage
The PublishPath folder must correspond to the URL specified
in the ResourceBase property. At runtime, after the DataWindow server generates
the XSLT style sheet to the PublishPath folder, client–side
JavaScript in a generated page downloads it using a reference to
the ResourceBase property. The JavaScript transforms the XML content
to XHTML using the generated XSLT style sheet.
In the painter
On the Web Generation tab in the Properties view for the DataWindow
object, select XSLT from the Format to Configure list and specify the
ResourceBase and Publish Path locations.
Examples
These statements set the XSLTGen.ResourceBase and
XSLTGen.PublishPath properties:
|
1 |
dw1.Object.DataWindow.XSLTGen.ResourceBase= &<br>   'http://www.myserver.com/xmlsource'<br>dw1.Object.DataWindow.XSLTGen.PublishPath= &<br>   'C:workoutputfilesxmlsource' |