Changes

Jump to navigation Jump to search
28 bytes removed ,  10:58, 15 December 2021
==Examples==
'''Example 1: Basic XSL transformation , with dummy document XML and without parameters''' '''Query:'''<syntaxhighlight lang="xquery">xslt:transform-report(<dummy/>, 'basic.xslt')</syntaxhighlight> '''basic.xslt'''<syntaxhighlight lang="xml"><xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match="/">123</xsl:template></xsl:stylesheet></syntaxhighlight> '''Result:'''<syntaxhighlight lang="xml">123</syntaxhighlight> '''Example 2: XSLT transformation of an input documentsupplied as nodes'''
'''Query:'''
</syntaxhighlight>
'''Example 2: Textual XSL transformation''' '''Query:'''<syntaxhighlight lang="xquery">xslt:transform-text(<dummy/>, 'basic.xslt')</syntaxhighlight> '''basic.xslt'''<syntaxhighlight lang="xml"><xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match="/">123</xsl:template></xsl:stylesheet></syntaxhighlight> '''Result:'''<syntaxhighlight lang="xml">123</syntaxhighlight> '''Example 3: Assigning a XSL transformation with variable to an XSLT stylesheetassignment'''
'''Query:'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu