graph.graph-to-analyze-evaluated.resolve.xsl 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. exclude-result-prefixes="xs"
  5. xmlns:graph="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/graph/graph.xsd"
  6. xmlns:p5dg="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/documentation_generator/documentation_generator.xsd"
  7. xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
  8. version="2.0">
  9. <xsl:output indent="yes"/>
  10. <xsl:strip-space elements="*"/>
  11. <xsl:param name="p5dg.documentation.files.index_analyzed.xml" required="yes"/>
  12. <xsl:variable name="p5dg:documentation.files.index_analyzed.xml" select="doc($p5dg.documentation.files.index_analyzed.xml)"/>
  13. <!--<xsl:param name="graph.graph-to-analyze-property.xml" required="yes"/>-->
  14. <!--<xsl:variable name="graph:graph.graph-to-analyze-property.xml" select="doc($graph.graph-to-analyze-property.xml)"/>-->
  15. <xsl:function name="graph:graph-to-analyze-evaluated.resolve.property">
  16. <xsl:param name="p5ant-interface:property.name"/>
  17. </xsl:function>
  18. <xsl:template mode="graph:graph-to-analyze-evaluated.resolve.property" match="@value[ contains(.,'${')]|@location[ contains(.,'${')]">
  19. <xsl:attribute name="{name()}" select="$graph:graph.graph-to-analyze-property.xml//property[@name = current()/../@name][1]/@graph:property.evaluated"/>
  20. </xsl:template>
  21. <xsl:template mode="graph:graph-to-analyze-evaluated.resolve.all" match="@*[ contains(.,'${')]">
  22. <xsl:attribute name="{name()}" select="$graph:graph.graph-to-analyze-property.xml//property[@name = current()/../@name][1]/@graph:property.evaluated"/>
  23. </xsl:template>
  24. </xsl:stylesheet>