⚲
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
»
Saxon-CE
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Download (1016 Bytes)
Bug #1482
» svg-t5-browser-v2.xsl
Manfred Staudinger
, 2012-04-19 11:02
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform
version=
"2.0"
xmlns:ixsl=
"http://saxonica.com/ns/interactiveXSLT"
xmlns:prop=
"http://saxonica.com/ns/html-property"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
extension-element-prefixes=
"ixsl"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<xsl:variable
name=
"svg"
select=
"ixsl:page()/html/body/svg"
as=
"element()"
/>
<xsl:variable
name=
"tab"
select=
"doc('svg-t5-tab.xml')/*"
as=
"element()"
/>
<xsl:key
name=
"class"
match=
"class"
use=
"."
/>
<xsl:template
match=
"/"
>
<xsl:apply-templates
select=
"$svg/g"
mode=
"initial-attr"
/>
</xsl:template>
<xsl:template
match=
"g"
mode=
"#all"
>
<xsl:if
test=
"@class"
><xsl:message
select=
"name(.), @class, @id, 'count(circle):', count(circle)"
/></xsl:if>
<xsl:apply-templates
select=
"circle | g"
mode=
"#current"
/>
</xsl:template>
<xsl:template
match=
"g[key('class', @class, $tab/init)[@*[not(name(.)='sort')]]]"
mode=
"initial-attr"
>
<xsl:apply-templates
select=
"g"
mode=
"initial-attr"
/>
</xsl:template>
</xsl:transform>
« Previous
1
2
3
4
Next »
(3-3/4)
Loading...