Transform view pane
The transform view displays an XML document transformed with a stylesheet, if one is available.
You can apply stylesheets that are referenced internally in the XML document as follows:
- Open the XML document in JBuilder.
- Choose the XML document's Transform View tab at the bottom of the content pane.
Note: If the document contains an XSLT processing instruction and just a single stylesheet, the stylesheet is applied to the XML document. If a tree view displays instead, press the Default Stylesheet button on the transform view toolbar to turn off the tree view.
You can also apply external stylesheets to a document. There are several ways to add and remove external stylesheets associated with a document:
- Right-click the XML document in the project pane and choose Properties.
- Click the Add Stylesheets button on the transform view toolbar to open the Properties dialog box.
- Use the Add and Remove buttons to add and remove selected stylesheets. After the stylesheets are associated with the document, they appear in the stylesheet drop-down list along with the internal stylesheets on the transform view toolbar.
- Choose the Transform View tab and select an external stylesheet from the drop-down list to apply it. If the document displays in a tree view, choose the Default Stylesheet button on the transform view toolbar to disable it.
To view the source code for the transformation, choose the Transform View Source tab.
See also