Sample pane for the XSLT transform editor
XML Samples are selected and maintained through the resource area either from step 2 of the transform editor setup wizard or via the Sample pane of the
Development Studio XSLT transform editor. The Sample pane of the XSLT transform editor consists of a toolbar and a sample pane. The XML sample displayed in the Sample pane will be used when previewing the transform. The expression defined in the Document pane is executed against the sample and the results are displayed in the Preview Drawer.
You can modify a displayed sample and save it, overwriting the original sample with the modifications. The modifications can be saved as a new sample.
If a sample was not selected through the wizard, or if the current sample is no longer the sample, you can open the samples file and select a new XML sample. If a sample is not selected, an <empty-document/> XML document is used as a default.
To save a modified sample as a new sample
- With a modified sample displayed, click the Save As button in the Sample pane toolbar.
- Type the name for the new sample in the file name field.
- On the tree, browse to the location for the new file to be saved.
- Click OK to save the sample.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*