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.
Obsolete property
XSLTGen.property is obsolete and should not be used, because the Web DataWindow technology is obsolete.
The Web Generation tab and JavaScript Generation tab are preserved for the backward compatibility only.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
dw_control.Object.DataWindow.XSLTGen.property
Describe and Modify argument:
"DataWindow.XSLTGen.property { = ' value ' }"
Parameter |
Description |
---|---|
property |
One of the following:
|
value |
(exp) PublishPath -- A string that specifies the physical path of the website folder to which PowerBuilder publishes the generated XSLT style sheet (exp) ResourceBase -- A string that specifies the URL of the generated XSLT style sheet |
Usage
The PublishPath folder must correspond to the URL specified in the ResourceBase property. At runtime, after PowerBuilder 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:
dw1.Object.DataWindow.XSLTGen.ResourceBase= & 'http://www.myserver.com/xmlsource' dw1.Object.DataWindow.XSLTGen.PublishPath= & 'C:\work\outputfiles\xmlsource'