|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Read directory and its contents and put it to anot
It seems this should work for this requirement,
<xsl:template match="span">
<xsl:variable name="idVal" select="@id" />
<xsl:variable name="temp" as="element()?">
<xsl:copy-of select="$inputFiles/*[contains(base-uri(.), $idVal)]" />
</xsl:variable>
<table>
<xsl:copy-of select="$temp/@id" />
<xsl:copy-of select="node()[not(self::tagnotwanted)]" />
</table>
</xsl:template>
This is not tested.
On Tue, Oct 7, 2008 at 5:56 PM, J. S. Rawat <jrawat@xxxxxxxxxxxxxx> wrote:
> Hi Mukul,
> I forget one issue, if you could suggest the syntax. The tables which i want
> to call have following structure
> <table id="a" a="" b="">
> <tagnotwanted/>
> ...
> </table>
>
> and don't want <tagnotwant> element and some attributes of table. Output
> should be
> <table id="a">
> ...
> </table>
--
Regards,
Mukul Gandhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








