RE: XML load

2004-07-27 Thread Shahzad.Butt
Thanks everyone. I think it must be the CFMX version causing issues because I have run the code on new server (with fresh CFMX installation) and it works fine. Thanks Shaz   _   From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 13:17 To: CF-Talk Subject: RE: XML load I ran

RE: XML load

2004-07-27 Thread Pascal Peters
I ran your code and it worked perfectly. You don't even need the rootelement tag (there is one). Make sure you don't suppress the output somehow. Pascal > -Original Message- > From: Shahzad.Butt [mailto:[EMAIL PROTECTED] > Sent: 27 July 2004 12:07 > To: CF-Talk &

Re: XML load

2004-07-27 Thread Adam Haskell
g or > doing wrong? > > > Shaz > >  _ > > From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: 26 July 2004 18:21 > To: CF-Talk > Subject: Re: XML load > > > You probably will need to do something like this to parse it > > > #my

RE: XML load

2004-07-27 Thread S . Isaac Dealey
> Following is the code > It shows no contents in the browser however if you just > open the URL in > the browser you can see the file. Is there anything I am > missing or > doing wrong? Make sure that code isn't inside a tag pair. Even if the cfsilent tags are in another template that include

RE: XML load

2004-07-27 Thread Shahzad.Butt
r if you just open the URL in the browser you can see the file. Is there anything I am missing or doing wrong? Shaz   _   From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: 26 July 2004 18:21 To: CF-Talk Subject: Re: XML load You probably will need to do something like this to parse it

Re: XML load

2004-07-26 Thread S . Isaac Dealey
You probably will need to do something like this to parse it #mypacket# I believe (though I could be mistaken) that error indicates that there are multiple tag-pairs at the root. Valid XML must have only one tag-pair at the root with all other elements contained within them. > On Monday 26 Ju

RE: XML load

2004-07-26 Thread Dave Watts
> Will XMLParse() work on CF5.0? currently its giving an error > on CF5.0. No. It was introduced with CFMX. > On CFMX6.1 it gives error "Document root element is missing". My initial guess would be that your document isn't well-formed, and is missing a root element. But you'd have to post your

Re: XML load

2004-07-26 Thread Thomas Chiverton
On Monday 26 Jul 2004 16:10 pm, Shahzad.Butt wrote: > http://services.postcodeanywhere.co.uk/xml.aspx?account_code=JJFAS1 > &license_code=XE47-EP93-RD59-GW24&action=""> > e=EN8%208RZ## That isn't returning valid XML. Try looking at something like http://www.stg.brown.edu/service/xmlvalid/ You

RE: XML load

2004-07-26 Thread Shahzad.Butt
uot;"> e=EN8%208RZ##>  <   <   <   <   _____   From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: 26 July 2004 16:03 To: CF-Talk Subject: Re: XML load On Monday 26 Jul 2004 15:51 pm, Shahzad.Butt wrote: > On CFMX6.1 it gives error "Document root

Re: XML load

2004-07-26 Thread Thomas Chiverton
On Monday 26 Jul 2004 15:51 pm, Shahzad.Butt wrote: > On CFMX6.1 it gives error "Document root element is missing". It probably is. What are the first few lines of the XML string ? -- Tom Chiverton Advanced ColdFusion Programmer [Todays Threads] [This Message] [Subscription] [Fast Unsubs

RE: XML load

2004-07-26 Thread Ben Forta
XMLParse() was introduced in CFMX, CF5 did not have XML processing built in. --- Ben   _   From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:52 AM To: CF-Talk Subject: RE: XML load Will XMLParse() work on CF5.0? currently its giving an error on CF5.0. On

RE: XML load

2004-07-26 Thread Shahzad.Butt
Will XMLParse() work on CF5.0? currently its giving an error on CF5.0. On CFMX6.1 it gives error "Document root element is missing". Any ideas on that? Shaz   _   From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: 26 July 2004 15:47 To: CF-Talk Subject: Re: XML load XM

Re: XML load

2004-07-26 Thread S . Isaac Dealey
XMLTransform ... duh... :) You can see how much I've used it. :) > On Monday 26 Jul 2004 15:25 pm, S. Isaac Dealey wrote: >> also XMLTranslate() (?) I think that's the name of the >> XSLT >> function... > Well, yes :-) > If the question hadn't so specific, I'd have pointed at > http://livedocs.ma

Re: XML load

2004-07-26 Thread Thomas Chiverton
On Monday 26 Jul 2004 15:25 pm, S. Isaac Dealey wrote: > also XMLTranslate() (?) I think that's the name of the XSLT > function... Well, yes :-) If the question hadn't so specific, I'd have pointed at http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi20.htm#wp3468770 and http://livedocs

Re: XML load

2004-07-26 Thread S . Isaac Dealey
> On Monday 26 Jul 2004 15:09 pm, Shahzad.Butt wrote: >> there is an XML file at (lets say >> http://www.abc.com/test.xml). How can >> I get the data from this file and loop over a particular >> item in my CFM > See cfhttp, xmlparse() and xmlsearch(). also XMLTranslate() (?) I think that's the na

Re: XML load

2004-07-26 Thread Thomas Chiverton
On Monday 26 Jul 2004 15:09 pm, Shahzad.Butt wrote: > there is an XML file at (lets say http://www.abc.com/test.xml). How can > I get the data from this file and loop over a particular item in my CFM See cfhttp, xmlparse() and xmlsearch(). -- Tom Chiverton Advanced ColdFusion Programmer [Today