dtd. I just copied the file to my server, used replace() to swap their
server path for mine, and it worked perfectly!
The main problem I'm having now is that the name of the formfield that
they use has a dash in it, and CF doesn't like that. Is there any way I
can work around it? If I do <cfdump var="#form#">
I can see the field and the cxml value just fine. However, I can't
reference it as <cfdump var="#form.CXML-URLENCODE#">
Any ideas?!
- Gary
-----Original Message-----
From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:51 PM
To: CF-Talk
Subject: Re: Problems parsing CXML with CF...
> Is there a way I can just eliminate dealing with the DTD at all by
> somehow removing that line/entry?
Unless you can fix the DTD on the server I guess you can only remove the
DOCTYPE declaration before parsing the file. Unfortunately this may have
potentially negative side-effects, since the XML parser would be unable
to
expand entities. The sample XML you posted has none of them, but the DTD
specify a few entities that are valid for the schema and could be used.
A decent compromise could be to copy the DTD on your system, fix it,
then
change the DOCTYPE to let it point to your local copy of the DTD... Not
very
elegant, but it should do the job
----------------------------
Massimo Foti
http://www.massimocorner.com
Co-Author of Dreamweaver MX 2004 Magic:
http://www.dwmagic.com/
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

