⚲
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 (686 Bytes)
Bug #4493
» iterate-break2.xsl
Martin Honnen
, 2020-03-22 14:01
<?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:saxon=
"http://saxon.sf.net/"
exclude-result-prefixes=
"#all"
version=
"3.0"
>
<xsl:output
indent=
"yes"
/>
<xsl:mode
streamable=
"yes"
on-no-match=
"shallow-skip"
/>
<xsl:template
match=
"/"
>
<items>
<xsl:iterate
select=
"root/items/item"
>
<xsl:copy-of
select=
".[@cat != 'bar']"
/>
<xsl:if
test=
"@cat = 'bar'"
>
<xsl:break/>
</xsl:if>
</xsl:iterate>
</items>
</xsl:template>
</xsl:stylesheet>
« Previous
1
2
Next »
(2-2/2)
Loading...