[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Calling Nodes in XSL


Subject: Re: [xsl] Calling Nodes in XSL
From: omprakash.v@xxxxxxxxxxxxx
Date: Fri, 19 Aug 2005 16:24:57 +0530

Hi,
         Would this stylesheet be what you are looking for. Iam not exactly
sure what your requirement is and so came up with this.

Hope this helps.

Cheers,
prakash



<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" encoding="utf-8"/>


<xsl:template match="/">

<xsl:apply-templates />

</xsl:template>


<xsl:template match="offload">

<xsl:apply-templates select="record"/>


</xsl:template>

<xsl:template match="record">

<xsl:copy>
<xsl:for-each select="*">
<xsl:sort select="*"/>

<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>

</xsl:for-each>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>





This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in


Current Thread