update
This commit is contained in:
parent
30f15aca89
commit
17fc12fe02
3 changed files with 31861 additions and 10 deletions
|
|
@ -2,10 +2,11 @@
|
|||
<!--
|
||||
tidy up graphviz svg o/p
|
||||
-->
|
||||
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" >
|
||||
<xsl:stylesheet version="3.0"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<xsl:param name="filter">MyFilter</xsl:param>
|
||||
<xsl:param name="rotate" select="false()"/>
|
||||
<xsl:output method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
|
||||
|
|
@ -81,11 +82,10 @@ xmlns:xlink="http://www.w3.org/1999/xlink" >
|
|||
</filter>
|
||||
</defs>
|
||||
</xsl:variable>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" aa="{$aa}"
|
||||
preserveAspectRatio="xMidYMid meet" viewBox="0 0 {$w} {$h}" text-rendering="optimizeLegibility">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" aa="{$aa}" preserveAspectRatio="xMidYMid meet" viewBox="0 0 {$w} {$h}" text-rendering="optimizeLegibility">
|
||||
|
||||
<xsl:copy-of select="$filters"/>
|
||||
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="rotate">
|
||||
<g transform="rotate(90 {$w div 2} {$h div 2} )">
|
||||
|
|
@ -93,7 +93,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink" >
|
|||
</g>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:apply-templates select="*"/>
|
||||
<xsl:apply-templates select="*"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</svg>
|
||||
|
|
|
|||
31850
xml/full_mets.xml
Normal file
31850
xml/full_mets.xml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue