Set repeating region (xsl) properties, Edit a repeating region xslt object, Insert xslt fragments in dynamic pages – Adobe Dreamweaver CC 2015 User Manual
Page 523
516
XML
Last updated 6/3/2015
4
Click OK.
In the Document window, a thin, tabbed, gray outline appears around the repeated region. When you preview your
work in a browser (File > Preview in Browser), the gray outline disappears and the selection expands to display the
specified repeating elements in the XML file.
When you add the Repeating Region XSLT object to the page, the XML data placeholder in the Document window
is truncated. This is because Dreamweaver truncates the XPath for the XML data placeholder so that it is relative to
the path of the repeating element.
Set Repeating Region (XSL) properties
In the Property inspector, you can select a different XML node to create the repeating region.
❖
In the Select box, enter a new node, and then press the lightning bolt icon and select the node from the XML schema
tree that appears.
Edit a Repeating Region XSLT object
After you’ve added a Repeating Region XSLT object to a region, you can edit it using the Property inspector.
1
Select the object by clicking the gray tab that surrounds the repeated region.
2
In the Property inspector (Window > Properties), click the dynamic icon next to the Select text field.
3
In the XPath Expression Builder, make your changes and click OK.
Insert XSLT fragments in dynamic pages
After you have created an XSLT fragment, you can insert it in a dynamic web page using the XSL Transformation server
behavior. When you add the server behavior to your page and view the page in a browser, an application server
performs a transformation that displays the XML data from the selected XSLT fragment. Dreamweaver supports XSL
transformations for ColdFusion, ASP, or PHP pages.