treeTransform

The <treeTransform> element is a special element to be used within views on the pipeline. It uses an XSL and some other files to draw your XML as XML as it would look in Internet Explorer. The output however is still XHTML and editable. It is a WYSIWYG view like any other, made to look like XML.

<x:view name="xml view">
  <x:treeTransform/>
</x:view>

You can use this transformation also to transform earlier transformations to an XML view.

<x:view name="xml view">
  <x:transform xsl="stylesheet.xsl"/>
  <x:treeTransform/> 
</x:view>

With the above example the output of stylesheet.xsl will be rendered as XML. This can be useful when debugging errors in the output of the stylesheet (for example when you are outputting invalid XHTML).


treeTransform element

Namespace: http://www.xopus.com/xmlns/config

Parent Elements

view

History

version event
Xopus 3 Introduction. Replaces <transform xsl="xopus/media/treeview/tree.xsl">.