|
[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
"J. S. Rawat" wrote:
Hi,
> Content of 1.tbl
> <table>
> ...
> </table>
> Input
> <p>xxx <span id="t1"/> yyy </p>
> Output
> <p>xxx <table>...</table> yyy</p>
The following should give you the idea, I let you the details:
<xsl:template match="span[@id]">
<xsl:copy-of select="doc(concat(@id, '.tbl'))"/>
</xsl:template>
Depending on the overall problem, you could be interested by the
Modified Identity Transform pattern.
Regards,
--drkm
|
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








