[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

import/include problem

Subject: import/include problem
From: shaik <shaik_xml@xxxxxxxxx>
Date: Mon, 1 Jul 2002 02:06:50 -0700 (PDT)
xsl variables include
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.