"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[(_at_)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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--