p5suis.DIAGNOSE.xsl 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. xmlns:p5suis="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/system_ui_info_speech/system_ui_info_speech.xsd"
  5. xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
  6. exclude-result-prefixes="xs"
  7. version="2.0">
  8. <xsl:import href="p5suis.import.xsl"/>
  9. <xsl:output indent="yes"/>
  10. <xsl:strip-space elements="*"/>
  11. <xsl:param name="psuis.addToLaunchctl.plistFile" required="yes"/>
  12. <!-- to diagnose if all is ok -->
  13. <xsl:template mode="p5suis:DIAGNOSE.xml" match="*">
  14. <p5suis:DIAGNOSE.xml>
  15. <xsl:apply-templates mode="p5suis:DIAGNOSE" select="."/>
  16. </p5suis:DIAGNOSE.xml>
  17. </xsl:template>
  18. <xsl:template mode="p5suis:DIAGNOSE" match="project">
  19. <!--<xsl:apply-imports/>-->
  20. <xsl:apply-templates mode="#current"/>
  21. </xsl:template>
  22. <xsl:template mode="p5suis:DIAGNOSE" match="target[contains(@name,'addToLaunchctl.upload.plist')]">
  23. <xsl:copy copy-namespaces="no">
  24. <xsl:copy-of select="@*"/>
  25. <xsl:apply-templates mode="p5suis:DIAGNOSE.target.addToLaunchctl.upload.plist" select="."/>
  26. </xsl:copy>
  27. </xsl:template>
  28. <xsl:template mode="p5suis:DIAGNOSE.target.addToLaunchctl.upload.plist" match="target">
  29. <p5suis:DIAGNOSE.target.addToLaunchctl.upload.plist>
  30. <xsl:variable name="p5suis:addToLaunchctl.plistFile" select="doc($psuis.addToLaunchctl.plistFile)"/>
  31. <xsl:copy-of select="$p5suis:addToLaunchctl.plistFile"></xsl:copy-of>
  32. </p5suis:DIAGNOSE.target.addToLaunchctl.upload.plist>
  33. <!--<xsl:apply-templates mode="#current"/>-->
  34. </xsl:template>
  35. <!--<xsl:template mode="p5suis:DIAGNOSE.target.addToLaunchctl.upload.plist" match="echoxml">
  36. <xsl:copy copy-namespaces="no">
  37. <xsl:copy-of select="@*"/>
  38. </xsl:copy>
  39. </xsl:template>-->
  40. <xsl:template mode="p5suis:DIAGNOSE.xml p5suis:DIAGNOSE p5suis:DIAGNOSE.target.addToLaunchctl.upload.plist" match="text()|comment()"/>
  41. </xsl:stylesheet>