|
Subject: Re: [xsl] Read directory and its contents and put it to another file From: Florent Georges <lists@xxxxxxxxxxxx> Date: Tue, 7 Oct 2008 13:10:36 +0200 (CEST) |
"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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Read directory and its conten, J. S. Rawat | Thread | Re: [xsl] Read directory and its co, Mukul Gandhi |
| Re: [xsl] To find out immediate fol, J. S. Rawat | Date | Re: [xsl] Read directory and its co, Mukul Gandhi |
| Month |