⚲
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
»
SaxonC
Overview
Issues
Calendar
Blog
Forums
Files
Download (582 Bytes)
Support #6097
» serialize-wrap-in-cdata1.xsl
Martin Honnen
, 2023-06-26 15:44
<?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"
exclude-result-prefixes=
"#all"
expand-text=
"yes"
version=
"3.0"
>
<xsl:param
name=
"cdata-tag-names"
as=
"xs:string*"
static=
"yes"
select=
"'tag'"
/>
<xsl:mode
on-no-match=
"shallow-copy"
/>
<xsl:output
method=
"xml"
_cdata-section-elements=
"{$cdata-tag-names}"
/>
<xsl:template
_match=
"{$cdata-tag-names => string-join(' | ')}"
>
<xsl:copy>
{serialize(node())}
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
« Previous
1
2
3
Next »
(3-3/3)
Loading...