⚲
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 (569 Bytes)
Support #3605
» FilterEmptyNodes (1).xsl
xsl for 2nd transformation which needs to be in streaming -
Ansh Sahajpal
, 2018-01-09 07:21
<xsl:stylesheet
version=
"3.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<xsl:output
omit-xml-declaration=
"yes"
indent=
"yes"
/>
<xsl:mode
streamable=
"yes"
on-no-match=
"shallow-copy"
/>
<xsl:strip-space
elements=
"*"
/>
<xsl:template
match=
"*[not(@*)]"
>
<xsl:where-populated>
<xsl:copy>
<xsl:apply-templates
select=
"@*"
/>
<xsl:apply-templates
select=
"node()"
/>
</xsl:copy>
</xsl:where-populated>
</xsl:template>
<xsl:template
match=
"text()[number(.) = -1]"
/>
</xsl:stylesheet>
« Previous
1
2
3
Next »
(3-3/3)
Loading...