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

Re: Trouble Including XSL Files in another XSL File

Subject: Re: Trouble Including XSL Files in another XSL File
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Tue, 19 Sep 2000 17:37:54 -0400
including xsl files
At 12:50 PM 09/19/2000 -0700, Corina McCleary wrote:
I am not getting any errors or any output from my
included XSL file.

This often happens if there's a disjoint between the namespace declaration and what the XSLT processor expects.


I was using xmlns:xsl="http://www.w3.org/TR/WD-xsl", but
I was getting the following errors:
        Keyword xsl:output may not be used here. and Keyword xsl:include may
not be used here.
So I switched to use xmlns:xsl="http://www.w3.org/1999/XSL/Transform".
Does anyone know what I am doing wrong?

I haven't tried your stylesheet (no ASP facilities available). But besides using the new namespace, as you did on the 2nd try, be sure you're using the newest version of the MSXML processor. (That is, your first "keyword xsl:output/xsl:include" error message indicates that you're still using the older MSXML. When you switched to the correct namespace, the older one doesn't recognize it at all and gives you the blank stare. :)


If you aren't using the July 20 release of MSXML, you can download it from:
http://msdn.microsoft.com/xml/general/msxmlprev.asp
Be sure to read the installation instructions carefully, so that you install it in "replace" mode. More information on that is available at the MS site, and also in Dave Pawson's excellent XSL FAQ at:
http://www.dpawson.freeserve.co.uk/xsl/microsoft.html#N21546


==========================================================
John E. Simpson | "If you were going to
http://www.flixml.org | shoot a mime, would you use
XML Q&A: http://www.xml.com | a silencer?" (Steven Wright)



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.