⚲
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 (730 Bytes)
Bug #3211
ยป test.xsl
Test case -
Henry S Thompson
, 2017-04-26 11:43
<?xml version='1.0'?>
<!DOCTYPE doc SYSTEM "../../../lib/xml/xsl.dtd" >
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
version=
"3.0"
xmlns:e=
"http://example.org"
>
<xsl:variable
name=
"pat1"
>
("[^"]*")|(\{[^}]+})|(,)|([^=\-+*/();:,.$
<
>^!]+(?:\.[^=\-+*/();:,.$
<
>^!]+)*\()|([)])|(^=|\()|((?:(?:'[^']+')|(?:\[[0-9]+\][^!]*)|(?:[a-zA-Z_][a-zA-Z0-9._]*)!))|(\$?[A-Z]+\$?[0-9]+)|([a-zA-Z_\\][a-zA-Z0-9._]*)|(.)
</xsl:variable>
<xsl:param
name=
"pat"
select=
"$pat1"
/>
<!-- xsl:param for refinement debugging by passing in the pattern -->
<xsl:param
name=
"formula"
>
SUM(A1:B2)
</xsl:param>
<xsl:template
match=
"/"
>
<xsl:copy-of
select=
"analyze-string($formula,$pat)"
/>
</xsl:template>
</xsl:stylesheet>
(1-1/1)
Loading...