Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
  4. <xsl:output method="xml" indent="yes" />
  5. <xsl:param name="queryType">customerRequest</xsl:param>
  6.  
  7. <xsl:template match="/">
  8. <xsl:choose>
  9. <xsl:when test="$queryType='customerRequest'">
  10. <xsl:call-template name="customerRequest"/>
  11. </xsl:when>
  12. <xsl:when test="$queryType='customerResponse'">
  13. <xsl:call-template name="customerResponse"/>
  14. </xsl:when>
  15. <xsl:otherwise>
  16. <QBXML></QBXML>
  17. </xsl:otherwise>
  18. </xsl:choose>
  19. </xsl:template>
  20.  
  21. <xsl:template name="customerRequest" match="/Customer_Customer">
  22. <QBXML>
  23. </QBXML>
  24. </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement