⚲
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 (670 Bytes)
Support #6384
» substring-after.xsl
Mircea Enachescu
, 2024-04-08 14:16
<?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:tei=
"http://www.tei-c.org/ns/1.0"
exclude-result-prefixes=
"xs tei"
version=
"3.0"
>
<xsl:template
match=
"/"
>
<persons>
<xsl:apply-templates/>
</persons>
</xsl:template>
<xsl:template
match=
"//tei:sp"
>
<person>
<xsl:variable
name=
"who"
select=
"@who"
/>
<xsl:attribute
name=
"who"
>
<xsl:value-of
select=
"substring-after($who, '#')"
/>
</xsl:attribute>
</person>
</xsl:template>
</xsl:stylesheet>
« Previous
1
2
3
Next »
(3-3/3)
Loading...