Question
XSL, ASP, Dynamic XML
Hi there:
I have created an XSLT fragment that is inserted on a working ASP page. When I use a static XML file, generated by an ASP script and saved to the server, the conversion and XML loading works fine. See the link below.
[ Uses static XML file ]
https://www.pettusop.com/eserv/dev/catalog_test.staticxml.asp?pcid=754
I run into trouble when I try to use this same "page" with a dynamically generated XML file. If I use a local ASP filename, I get an error that is apparently due to the fact that the ASP does not get parsed/run when called by the MM_XSLTransform class.
[ Local dynamic XML via ASP ]
https://www.pettusop.com/eserv/dev/catalog_test.localasp.asp?pcid=754
I thought I could get around this by hitting a URL, but that generates an error too. Something about whitespace. The XML that is generated is just fine.
[ Dynamic XML via ASP through URL ]
https://www.pettusop.com/eserv/dev/catalog_test.url.asp?pcid=754
I found this (link below) old post about a similar problem, but I'm not sure how to modify the MM_XSLTransform class or if I just need to "tweak" what I'm doing a bit.
http://www.stylusstudio.com/xmldev/200111/post60920.html
Any suggestions?
Thank you,
James
I have created an XSLT fragment that is inserted on a working ASP page. When I use a static XML file, generated by an ASP script and saved to the server, the conversion and XML loading works fine. See the link below.
[ Uses static XML file ]
https://www.pettusop.com/eserv/dev/catalog_test.staticxml.asp?pcid=754
I run into trouble when I try to use this same "page" with a dynamically generated XML file. If I use a local ASP filename, I get an error that is apparently due to the fact that the ASP does not get parsed/run when called by the MM_XSLTransform class.
[ Local dynamic XML via ASP ]
https://www.pettusop.com/eserv/dev/catalog_test.localasp.asp?pcid=754
I thought I could get around this by hitting a URL, but that generates an error too. Something about whitespace. The XML that is generated is just fine.
[ Dynamic XML via ASP through URL ]
https://www.pettusop.com/eserv/dev/catalog_test.url.asp?pcid=754
I found this (link below) old post about a similar problem, but I'm not sure how to modify the MM_XSLTransform class or if I just need to "tweak" what I'm doing a bit.
http://www.stylusstudio.com/xmldev/200111/post60920.html
Any suggestions?
Thank you,
James
