⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Saxon
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Repository
Download (861 Bytes)
Bug #6405
» text-inside-when.xsl
Supporting file -
A Galtman
, 2024-04-28 20:55
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:local=
"http://local/xslt"
exclude-result-prefixes=
"xs"
version=
"3.0"
>
<xsl:function
name=
"local:func-choose"
as=
"text()"
>
<xsl:param
name=
"choice"
/>
<xsl:choose>
<xsl:when
test=
"$choice eq 1"
>
43 to 50
</xsl:when>
<xsl:when
test=
"$choice eq 2"
>
multiple-line text node
</xsl:when>
<xsl:when
test=
"$choice eq 3"
><xsl:text>
53 to 60
</xsl:text></xsl:when>
<xsl:when
test=
"$choice eq 4"
>
<xsl:text>
multiple-line text node
in xsl:text
</xsl:text>
</xsl:when>
</xsl:choose>
</xsl:function>
</xsl:stylesheet>
« Previous
1
2
Next »
(2-2/2)
Loading...