Inmedius® DITA™ Chat | Subscribe | Email | Contact Us | Inmedius
Next Steps
Download Data Sheet
View Flash Demos
Access Online Editor
Test Drive Software
Buy It Now
Suite :: Developer : Documentation | Technology | News
Basic Editing  :  Integration  :  Customization  :  XSL Support
           :  Compiling XSL & model.xml

XSL Support


Developer supports WYSIWYG editing, allowing XML documents to be edited as if they were already processed by XSL transformation. To optimize performance and user experience on the browser end, XSL templates need to be compiled before they are provided to Developer. The simple compilation process involves the execution of a command line script written in Java.

XSL Element Support


Currently Developer supports the following XSL elements and attributes:

Element/Attribute Notes
<xsl:stylesheet>
  ...
</xsl:styleheet>

 

<xsl:template name='...' match='...'>
  ...
</xsl:template>
See XPath Support section for details.
<xsl:apply-templates select='...'/> See XPath Support section for details.
<xsl:value-of select='...'/> See XPath Support section for details.
<xsl:choose>
  ...
</xsl:choose>
 
<xsl:when test='...'>
  ...
</xsl:when>
See XPath Support section for details.
<xsl:otherwise>
  ...
</xsl:otherwise>
 
<xsl:if test='...'>
  ...
</xsl:if>
See XPath Support section for details.
<xsl:call-template name='...'/>  
<xsl:attribute name='...'>
  ...
</xsl:attribute>
 

XPath Support


Currently Developer supports the following XPath elements:

XPath Element Notes
/.. match from root node
.../... match child nodes/elements
ncname matchtag with specified name
ncname[...] match tag or node according to specified condition
.. parent node
(...) bracket grouping
number numbers
@ncname attributes
'literal' strings
position() 1-based position index
name() name of the element
$editing At this time Developer only supports 'editing' variable and is always set to 'true' in the context of the editor. It can be used to differentiate between normal and Developer rendering when the same XSL transformation is being used for both.
... = ... equals operator
... != ... not-equals operator
... | ... union operator on set of nodes
... and ... boolean 'and' operator
... or ... boolean 'or' operator

 

Site Map Privacy Statement | Terms of Use
©2005-2008 Inmedius, Inc. All rights reserved. | DITA Links: