Wrox Programmer Forums
|
Classic ASP XML Using ASP 3 and XML. See also the XML category for more XML discussions not relating to ASP. NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2005, 11:21 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alexpizzoferro
Default ASP Includes in XSL

Ok, I need to include an asp page in an xsl file.

I have changed the xsl to be asp so that it can take the include code.

I have the page working as xsl but without the include code.
When adding the include code, it blows up.

I have taken the include file to pieces and validated it with the w3schools validator.

I know where i should be putting the include code, but it just does not like it.

Has anyone else had this problem with asp includes and xsl???

I have tried everything.

Thanks in advance!
__________________
http://www.loghopper.com
 
Old June 2nd, 2005, 11:37 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you post the content of the two files in question, please.

Cheers,

Chris


 
Old June 3rd, 2005, 02:58 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Alex,

It doesn't look like including the second file is going to result in a valid document - the result is going to be a document with two of: xml declarations, html, head & body tags etc.

Hit the book.asp page with the code included & then validate the source of the output.

HTH,

Chris

 
Old June 3rd, 2005, 05:22 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alexpizzoferro
Default

Thanks for your help.

I tested it without those tags in and it still didnt work.
After further testing, I have found that it doesnt like the first piece of ASP code on the page and probably the rest as well!

I am going to attempt a different procedure so solve my problem.

Anyone know how to store a value which comes from amazon in xml form into an asp variable?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Includes - ASP.Net equivalent rit01 ASP.NET 2.0 Basics 2 February 21st, 2006 10:31 AM
ASP Includes in .NET sabu21s Classic ASP Databases 0 October 20th, 2005 04:43 PM
ASP Includes in XSL Alexpizzoferro XSLT 1 June 2nd, 2005 02:47 PM
ASP SSI Includes from parent directory ALoPresto Classic ASP Basics 1 August 4th, 2003 02:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.