Login +

Reference Guide / SLS_Dtd

SLS_Dtd1 is a class used for XML / XSL parsing. It allows extending this parsing by adding our own parsing rules. This is why in xsl templates you can see instructions ||| sls:function|||. All these guidelines call the functions of the class.

Accessibility

At View level, you can access it with the following marker:

||| sls:method():param1:...:paramN|||

XSL Variables

This class lets you also create global XSL variables predefined to make your life easier in the View layer.

These variables are:

<xsl:value-of select="$sls_url_domain" />
<xsl:value-of select="$sls_url_public" />
<xsl:value-of select="$sls_url_files" />
<xsl:value-of select="$sls_url_img" />
<xsl:value-of select="$sls_url_css" />
<xsl:value-of select="$sls_url_js" />
<xsl:value-of select="$sls_url_js_statics" />
<xsl:value-of select="$sls_url_js_dyn" />

References

  1. SLS_Dtd - Tool SLS_Dtd - Perform a XSL -> Php transformation