[xsl] import/include problem

Subject: [xsl] import/include problem
From: shaik <shaik_xml@xxxxxxxxx>
Date: Mon, 1 Jul 2002 02:06:50 -0700 (PDT)
Hi All,

I wants to use one xsl in another xsl file. 

But i am getting the following error when i open
id1.xml in the Browser.

The process cannot access the file because it is being
used by another process. 

All the files are in the same directory.

The files are as follows:-
---------------------------
>>> id1.xml file

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="id4.xsl"?>

<xslTutorial >

<H1>IMPORTING STYLESHEETS</H1>

</xslTutorial>
-----------------------------
>>> id4.xsl

<xsl:stylesheet  version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

<xsl:include href="id2.xsl"/>

<xsl:template match="/">
	<P><xsl:value-of select="$id2"/></P>
	
</xsl:template>

</xsl:stylesheet>
-----------------------------
>>> id2.xsl

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet  version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>

	<xsl:variable name="id2">Stylesheet
1(id2.xsl)</xsl:variable>
	
	<xsl:variable name="t">Variable t from
id2.xsl</xsl:variable>

</xsl:stylesheet>
---------------------------------------

Could you please tell what could be the reason.

Thanks
Shaik


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread