<xsl:stylesheet version="1.0"
xmlns:qboWeb="http://qbo.web.quandis.com/"
xmlns:qbo="http://services.quandis.com/QDS/"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
<xsl:param name="ApplicationRoot"/>
<xsl:template match="*">
<ExcelTemplate>
<StoredProcedureCollection>
<StoredProcedure>
<xsl:attribute name="name">
<xsl:choose>
<xsl:when test="//StoredProcedureName != ''">
<xsl:value-of select="//StoredProcedureName"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>rShortSaleDataExtractAll</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<OrganizationID>
<xsl:value-of select="//OrganizationID"/>
</OrganizationID>
</StoredProcedure>
</StoredProcedureCollection>
<!--
Workbook (optional)
Name - (optional) If supplied sheets will have naming pattern {Name}{SheetIndex} where SheetIndex starts at 0
-->
<Workbook Name="Export">
<!--
Sheet - (optional) Overrides global behavior. Sequence of Sheet must match sequence of dataset. Eg. If SP returns 3 tables, first table returned will match first Sheet
Name - (optional) If supplied sheets will have naming pattern {Sheet}. Otherwise sheet naming will cascade to Workbook naming pattern
-->
<Sheet Name="ShortSale"/>
<Sheet Name="Process"/>
<Sheet Name="Loan"/>
<Sheet Name="Property"/>
<Sheet Name="Borrower"/>
<Sheet Name="Foreclosure"/>
<Sheet Name="Contact"/>
<Sheet Name="ContactMethod"/>
<Sheet Name="Person"/>
</Workbook>
</ExcelTemplate>
</xsl:template>
</xsl:stylesheet>