⚲
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 (609 Bytes)
Bug #2190
» using-package.xsl
John Lumley
, 2014-10-20 11:40
<xsl:package
name=
"using-package.xsl"
package-version=
"1.0"
version=
"3.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:f=
"http://example.org/complex-arithmetic.xsl"
>
<xsl:use-package
name=
"http://example.org/complex-arithmetic.xsl"
package-version=
"1\.0"
/>
<xsl:template
match=
"/"
>
<xsl:variable
name=
"vComplex1"
select=
"f:complex-number(1, 0)"
as=
"map(xs:integer, xs:double)"
/>
Real:
<xsl:sequence
select=
"$vComplex1(0)"
/>
Imaginary:
<xsl:sequence
select=
"$vComplex1(1)"
/>
</xsl:template>
</xsl:package>
« Previous
1
2
Next »
(1-1/2)
Loading...