⚲
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 (671 Bytes)
RE: Error XTTE0505 When Using @as On xsl:template with a *
» As.xslt
Adrian Bird
, 2024-10-03 16:25
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet
version=
"3.0"
xmlns:myns=
"http://myns"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<xsl:output
method=
"xml"
indent=
"yes"
/>
<xsl:variable
name=
"var01"
as=
"element(Q{http://myns}*)+"
>
<myns:node>
var01
</myns:node>
</xsl:variable>
<xsl:template
name=
"xsl:initial-template"
>
<root>
<xsl:copy-of
select=
"$var01"
/>
<xsl:call-template
name=
"template01"
/>
</root>
</xsl:template>
<xsl:template
name=
"template01"
as=
"element(Q{http://myns}*)+"
>
<myns:node>
template01
</myns:node>
</xsl:template>
</xsl:stylesheet>
(1-1/1)
Loading...