[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: URL parameters in xsl
Hi Martin, > When I use Americo's code, I get the following error.. > > 'The stylesheet does not contain a document element. The stylesheet > may be empty, or it may not be a well-formed XML document. > > /default.asp, line 14 ' Your stylesheet is well-formed (or at least what you sent is) so it sounds as if the ASP code isn't managing to locate the stylesheet. Check the location of the stylesheet and make sure the code's pointing to the right place. If there's no immediately obvious error, try including some debugging code to check that the stylesheet has been loaded correctly. Something like (in JavaScript since I don't know VBScript): if (xslDoc.parseError.errorCode != 0) { var error = xslDoc.parseError; alert('Error parsing ' + error.url + ' at ' + error.line + ':' + error.linepos + ':\n' + error.reason); } That should give you more idea about what the problem is. By the way, I can't see where you're using the $uid parameter in your stylesheet. I'm not sure what you want to do with it? But first things first... Cheers, Jeni --- Jeni Tennison http://www.jenitennison.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
|