Use regexp or find
> -----Original Message----- > From: Frank Mamone [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 15, 2002 1:35 PM > To: CF-Talk > Subject: Parsing XML with CF 4.5 > > > I am receiving this XML packet and I need to parse out the > Payload. The XML is not standard as it contains the DTD line. > MSXML parser works fine if I remove that line. Is there a workaround? > > <?xml version="1.0"?> > <!DOCTYPE wctp-Operation SYSTEM > "http://dtd.wctp.org/wctp-dtd-v1r1.dtd"> > <wctp-Operation > wctpVersion="wctp-dtd-v1r1" wctpToken="11AA"> > <wctp-SubmitRequest> <wctp-SubmitHeader > submitTimestamp="2002-12-13T17:55:17"> > <wctp-Originator senderID="24005925"/> > <wctp-MessageControl messageID="131842"/> > <wctp-Recipient recipientID="www.bla.com/cccc/wctp.asp"/> > </wctp-SubmitHeader> > <wctp-Payload> > <wctp-Alphanumeric>A4528.18907335.1371752400</wctp-Alphanumeric> > </wctp-Payload></wctp-SubmitRequest> > </wctp-Operation> > > Thanks in advance. > > Frank Mamone > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

