|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] import/include problem
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
|
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








