What are you trying to do? Apply XSLT to an xml document? Joe Eugene
> -----Original Message----- > From: James Alexander [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 6:31 PM > To: CF-Talk > Subject: MX can't parse processing instructions? > > > I'm trying to use the IMPORT processing instruction in an html document > and while I can get it to render in any other web application language > (specifically in an ASP.NET application, it outputs fine), MX destroys > the document when it hits the processing instruction. Take for example > the following snippet: > > <snippet> > > <html xmlns="so"> > > <head> > > <?IMPORT namespace="so" implementation="soeditor.htc" /> > > <script language="Javascript" src="soeditor.js"></script> > > </head> > > <body> > <so:editor .... /> > > </body> > > </html> > > </snippet> > > > > The above snippet renders perfectly in an ASP.NET or Classic ASP > application, however MX destroys the tag immediately following the > IMPORT processing instruction by somehow "removing" the opening tag > character. So what would be: > > > > <snippet> > > <?IMPORT namespace="so" implementation="soeditor.htc" /> > > script language="Javascript" src="soeditor.js"></script> > > </snippet> > > > > If you notice, the script tags opening tag character has been removed. > No matter what tag follows the processing instructing, it gets > destroyed. My guess is that the MX page parser (however it works) has an > issue w/ this particular processing instruction or PI's in general. Has > anyone encountered this issue w/ the IMPORT processing instruction or > have any suggestions for going about fixing it? Thanks! > > > > - James > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

