|
|
@@ -0,0 +1,402 @@
|
|
|
+<?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:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
|
|
|
+ xmlns:system_cache__dita="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/dita.xsd"
|
|
|
+ xmlns:system_cache__dita__x3A__p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__p5gnuplot.xsd"
|
|
|
+ xmlns:system_cache__dita__x3A__svg="http://biuro.biall-net.pl/WPS_Functions/system_cache__dita__x3A__p5gnuplot/system_cache__dita__x3A__svg.xsd"
|
|
|
+ xmlns:p5gnuplot__x3A__system_cache__dita="http://biuro.biall-net.pl/WPS_Functions/p5gnuplot__x3A__system_cache__dita/p5gnuplot__x3A__system_cache__dita.xsd"
|
|
|
+ xmlns:p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot"
|
|
|
+ xmlns:svg="http://www.w3.org/2000/svg"
|
|
|
+ xmlns:default_db__x3A__BI_audit_ENERGA_RUM_UMOWY="https://biuro.biall-net.pl/wfs/default_db/BI_audit_ENERGA_RUM_UMOWY"
|
|
|
+ xmlns:default_db__x3A__BI_audit_BENFORD="https://biuro.biall-net.pl/wfs/default_db/BI_audit_BENFORD"
|
|
|
+
|
|
|
+ xmlns:svgu="http://www.ora.com/XSLTCookbook/ns/svg-utils"
|
|
|
+ xmlns:test="http://www.ora.com/XSLTCookbook/ns/test"
|
|
|
+ exclude-result-prefixes="xs"
|
|
|
+ version="2.0">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:output indent="yes"/>
|
|
|
+ <xsl:strip-space elements="*"/>
|
|
|
+
|
|
|
+ <xsl:template name="system_cache__dita__x3A__svg:cursor.region.plot" >
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:cursor" required="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region" required="no"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.id" required="no"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region.position" required="no"/>
|
|
|
+ <xsl:apply-templates mode="system_cache__dita__x3A__svg:cursor.region.plot" select="$system_cache__dita__x3A__svg:cursor">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:cursor.region.plot__x3A__context" select="." tunnel="yes"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region" select="$system_cache__dita__x3A__svg:resolution.coordinate.region" tunnel="yes"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="$system_cache__dita__x3A__svg:resolution.coordinate.id" tunnel="yes"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.region.position" select="$system_cache__dita__x3A__svg:resolution.coordinate.region.position" tunnel="yes"/>
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita__x3A__svg:cursor.region.plot" match="system_cache__dita__x3A__svg:cursor">
|
|
|
+ <xsl:apply-templates mode="#current"/>
|
|
|
+ </xsl:template>
|
|
|
+ <xsl:template mode="system_cache__dita__x3A__svg:cursor.region.plot" match="*">
|
|
|
+ <xsl:apply-templates mode="#current"/>
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita__x3A__svg:cursor.region.plot" match="system_cache__dita__x3A__svg:cursor.commit.instream-foreign-object[@system_cache__dita__x3A__svg:template]">
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:cursor.region.plot__x3A__context" tunnel="yes" required="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.id" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region.position" tunnel="yes"/>
|
|
|
+
|
|
|
+ <xsl:comment>#40 system_cache__dita__x3A__svg:cursor.region.plot <xsl:value-of select="parent::*/parent::*/name()"/>/
|
|
|
+ <xsl:value-of select="parent::*/name()"/>/
|
|
|
+ @system_cache__dita__x3A__svg:template = <xsl:value-of select="@system_cache__dita__x3A__svg:template"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.x2.bounds.max.length = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ @system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.y2.bounds.max.length = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+
|
|
|
+ |[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> ] -[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> ]
|
|
|
+ ########[[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/> ]]#########
|
|
|
+ # #
|
|
|
+ # [[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/> ]]
|
|
|
+ # #
|
|
|
+ #########[[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/> ]]########
|
|
|
+ |[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/> ] -[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/> ]
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.region.position and (count(preceding-sibling::*) = $system_cache__dita__x3A__svg:resolution.coordinate.region.position)">
|
|
|
+ <xsl:comment>
|
|
|
+ #74C $count[<xsl:value-of select="count(preceding-sibling::*)"/>] bypassed test="$system_cache__dita__x3A__svg:resolution.coordinate.region.position and (count(preceding-sibling::*) = $system_cache__dita__x3A__svg:resolution.coordinate.region.position)"
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.region and not(parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.region)">
|
|
|
+ <xsl:comment>
|
|
|
+ #74A bypassed test="$system_cache__dita__x3A__svg:resolution.coordinate.region and not(parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.region)"
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.id and not(parent::*/parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.id)">
|
|
|
+ <xsl:comment>
|
|
|
+ #74B bypassed test="$system_cache__dita__x3A__svg:resolution.coordinate.id and not(parent::*/parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.region)"
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:template = 'system_cache__dita__x3A__svg:xyPlot' and @system_cache__dita__x3A__svg:Ydata and @system_cache__dita__x3A__svg:Xdata">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata ]">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:xyPlot">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="dataX" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata ]"/>
|
|
|
+ <xsl:with-param name="dataY" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata ]"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80 errpr not found $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata(<xsl:value-of select="@system_cache__dita__x3A__svg:Xdata"/>) ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata(<xsl:value-of select="@system_cache__dita__x3A__svg:Ydata"/>) ]
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:template = 'system_cache__dita__x3A__svg:bars' and @system_cache__dita__x3A__svg:Ydata ">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata ]">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:bars">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <!--<xsl:with-param name="dataX" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata ]"/>-->
|
|
|
+ <xsl:with-param name="dataY" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata ]"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80 errpr not found $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata(<xsl:value-of select="@system_cache__dita__x3A__svg:Xdata"/>) ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata(<xsl:value-of select="@system_cache__dita__x3A__svg:Ydata"/>) ]
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:template = 'system_cache__dita__x3A__svg:yAxis' and @system_cache__dita__x3A__svg:Ydata ">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata ]">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:yAxis">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <!--<xsl:with-param name="dataX" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata ]"/>-->
|
|
|
+ <xsl:with-param name="dataY" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata ]"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80 errpr not found $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata(<xsl:value-of select="@system_cache__dita__x3A__svg:Xdata"/>) ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata(<xsl:value-of select="@system_cache__dita__x3A__svg:Ydata"/>) ]
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:template = 'system_cache__dita__x3A__svg:openHiLoClose' ">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:openData ]
|
|
|
+ and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:hiData ]
|
|
|
+ and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:loData ]
|
|
|
+ and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:closeData ]
|
|
|
+ ">
|
|
|
+ <xsl:call-template name="system_cache__dita__x3A__svg:openHiLoClose">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <!--<xsl:with-param name="dataX" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata ]"/>-->
|
|
|
+ <xsl:with-param name="openData" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:openData ]"/>
|
|
|
+ <xsl:with-param name="hiData" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:hiData ]"/>
|
|
|
+ <xsl:with-param name="loData" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:loData ]"/>
|
|
|
+ <xsl:with-param name="closeData" select="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:closeData ]"/>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+ </xsl:call-template>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80 errpr not found test="$system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:openData ]
|
|
|
+ and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:hiData ]
|
|
|
+ and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:loData ]
|
|
|
+ and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:closeData ]
|
|
|
+ "
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+ </xsl:when>
|
|
|
+ </xsl:choose>
|
|
|
+ <call-template-todo>
|
|
|
+ <xsl:value-of select="@system_cache__dita__x3A__svg:template"/>
|
|
|
+ </call-template-todo>
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:template mode="system_cache__dita__x3A__svg:cursor.region.plot" match="system_cache__dita__x3A__svg:cursor.commit.instream-foreign-object[@system_cache__dita__x3A__svg:apply-template.mode and @system_cache__dita__x3A__svg:apply-template.select.param='system_cache__dita__x3A__svg:data__x3A__assign']">
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:cursor.region.plot__x3A__context" tunnel="yes" required="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.id" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:resolution.coordinate.region.position" tunnel="yes"/>
|
|
|
+ <xsl:param name="system_cache__dita__x3A__svg:data__x3A__assign" required="yes" tunnel="yes"/>
|
|
|
+
|
|
|
+ <xsl:comment>#40-mode-B system_cache__dita__x3A__svg:cursor.region.plot
|
|
|
+ [<xsl:value-of select="parent::*/parent::*/name()"/>]
|
|
|
+ [<xsl:value-of select="parent::*/name()"/>]
|
|
|
+ @system_cache__dita__x3A__svg:apply-template.select.param = <xsl:value-of select="@system_cache__dita__x3A__svg:apply-template.select.param"/>
|
|
|
+ @system_cache__dita__x3A__svg:apply-template.mode = <xsl:value-of select="@system_cache__dita__x3A__svg:apply-template.mode"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.x2.bounds.max.length = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ @system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ @system_cache__dita__x3A__svg:data.y2.bounds.max.length = <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+
|
|
|
+ |[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> ] -[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> ]
|
|
|
+ ########[[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/> ]]#########
|
|
|
+ # #
|
|
|
+ # [[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/> ]]
|
|
|
+ # #
|
|
|
+ #########[[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/> ]]########
|
|
|
+ |[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/> ] -[ <xsl:value-of select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/> ]
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.region.position and (count(preceding-sibling::*) = $system_cache__dita__x3A__svg:resolution.coordinate.region.position)">
|
|
|
+ <xsl:comment>
|
|
|
+ #74-mode-C $count[<xsl:value-of select="count(preceding-sibling::*)"/>] bypassed test="$system_cache__dita__x3A__svg:resolution.coordinate.region.position and (count(preceding-sibling::*) = $system_cache__dita__x3A__svg:resolution.coordinate.region.position)"
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.region and not(parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.region)">
|
|
|
+ <xsl:comment>
|
|
|
+ #74-mode-A bypassed test="$system_cache__dita__x3A__svg:resolution.coordinate.region and not(parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.region)"
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="$system_cache__dita__x3A__svg:resolution.coordinate.id and not(parent::*/parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.id)">
|
|
|
+ <xsl:comment>
|
|
|
+ #74-mode-B bypassed test="$system_cache__dita__x3A__svg:resolution.coordinate.id and not(parent::*/parent::*/name() = $system_cache__dita__x3A__svg:resolution.coordinate.region)"
|
|
|
+ [S][<xsl:value-of select="$system_cache__dita__x3A__svg:resolution.coordinate.id"/>] not= [<xsl:value-of select="parent::*/parent::*/name()"/>]
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:apply-template.mode = 'system_cache__dita__x3A__svg:openHiLoClose'">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="1=1">
|
|
|
+ <xsl:apply-templates mode="system_cache__dita__x3A__svg:openHiLoClose" select="$system_cache__dita__x3A__svg:data__x3A__assign">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="root()"/>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.name" select="@system_cache__dita__x3A__svg:data.y1.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.value" select="@system_cache__dita__x3A__svg:data.y1.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="@system_cache__dita__x3A__svg:data.y1.label" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.name" select="@system_cache__dita__x3A__svg:data.y2.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.value" select="@system_cache__dita__x3A__svg:data.y2.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="@system_cache__dita__x3A__svg:data.x.label" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="@system_cache__dita__x3A__svg:data.x.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="@system_cache__dita__x3A__svg:data.x.name.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="@system_cache__dita__x3A__svg:data.x.value" />
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:when>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80-B errpr not found $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata(<xsl:value-of select="@system_cache__dita__x3A__svg:Xdata"/>) ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata(<xsl:value-of select="@system_cache__dita__x3A__svg:Ydata"/>) ]
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:apply-template.mode = 'system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal'">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="1=1">
|
|
|
+ <xsl:apply-templates mode="system_cache__dita__x3A__svg:openHiLoClose__x3A__horizontal" select="$system_cache__dita__x3A__svg:data__x3A__assign">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="root()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:labelMajor" select="@system_cache__dita__x3A__svg:labelMajor" tunnel="yes"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.name" select="@system_cache__dita__x3A__svg:data.y1.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.value" select="@system_cache__dita__x3A__svg:data.y1.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="@system_cache__dita__x3A__svg:data.y1.label" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.name" select="@system_cache__dita__x3A__svg:data.y2.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.value" select="@system_cache__dita__x3A__svg:data.y2.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="@system_cache__dita__x3A__svg:data.x.label" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="@system_cache__dita__x3A__svg:data.x.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="@system_cache__dita__x3A__svg:data.x.name.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="@system_cache__dita__x3A__svg:data.x.value" />
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:when>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80-B errpr not found $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata(<xsl:value-of select="@system_cache__dita__x3A__svg:Xdata"/>) ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata(<xsl:value-of select="@system_cache__dita__x3A__svg:Ydata"/>) ]
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:when>
|
|
|
+ <xsl:when test="@system_cache__dita__x3A__svg:apply-template.mode = 'system_cache__dita__x3A__svg:bars'">
|
|
|
+ <xsl:choose>
|
|
|
+ <xsl:when test="1=1">
|
|
|
+ <xsl:comment>#350 apply mode mode="system_cache__dita__x3A__svg:bars"</xsl:comment>
|
|
|
+ <xsl:apply-templates mode="system_cache__dita__x3A__svg:bars" select="$system_cache__dita__x3A__svg:data__x3A__assign">
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.id" select="parent::*/parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:resolution.coordinate.block" select="parent::*/name()"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:cursor" select="root()"/>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.x1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.x2.bounds.max.length"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate" select="../@system_cache__dita__x3A__svg:data.y1.bounds.min.coordinate"/> <!-- $system_cache__dita__x3A__svg:cursor.current.Y -->
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.coordinate"/>
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.bounds.max.length" select="../@system_cache__dita__x3A__svg:data.y2.bounds.max.length"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.name" select="@system_cache__dita__x3A__svg:data.y1.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.value" select="@system_cache__dita__x3A__svg:data.y1.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y1.label" select="@system_cache__dita__x3A__svg:data.y1.label" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.name" select="@system_cache__dita__x3A__svg:data.y2.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.y2.value" select="@system_cache__dita__x3A__svg:data.y2.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.label" select="@system_cache__dita__x3A__svg:data.x.label" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name" select="@system_cache__dita__x3A__svg:data.x.name" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.name.value" select="@system_cache__dita__x3A__svg:data.x.name.value" />
|
|
|
+ <xsl:with-param name="system_cache__dita__x3A__svg:data.x.value" select="@system_cache__dita__x3A__svg:data.x.value" />
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:apply-templates>
|
|
|
+ </xsl:when>
|
|
|
+
|
|
|
+
|
|
|
+ <xsl:otherwise>
|
|
|
+ <xsl:comment>#80-B errpr not found $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Xdata(<xsl:value-of select="@system_cache__dita__x3A__svg:Xdata"/>) ] and $system_cache__dita__x3A__svg:cursor.region.plot__x3A__context//*[ name() = current()/@system_cache__dita__x3A__svg:Ydata(<xsl:value-of select="@system_cache__dita__x3A__svg:Ydata"/>) ]
|
|
|
+
|
|
|
+ </xsl:comment>
|
|
|
+ </xsl:otherwise>
|
|
|
+ </xsl:choose>
|
|
|
+
|
|
|
+ </xsl:when>
|
|
|
+
|
|
|
+
|
|
|
+ </xsl:choose>
|
|
|
+ <call-template-todo>
|
|
|
+ <xsl:value-of select="@system_cache__dita__x3A__svg:template"/>
|
|
|
+ </call-template-todo>
|
|
|
+
|
|
|
+ </xsl:template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</xsl:stylesheet>
|