RE: Unit Testing an XML Parsing Function

2007-07-26 Thread Jaime Metcher
litude you could return test UUIDs from out of a preset list - not sure how sensitive your testing needs to be. Jaime Metcher > -Original Message- > From: Jeff Chastain [mailto:[EMAIL PROTECTED] > Sent: Friday, 27 July 2007 3:18 AM > To: CF-Talk > Subject: Unit Testin

Unit Testing an XML Parsing Function

2007-07-26 Thread Jeff Chastain
I have a component whose init method takes the path to an xml file and parses the contents of that xml file into an internal data structure. Now I am trying to write the unit test for this function and I am getting stuck. My original attempt was to pass in a test xml file and the manually create t

Re: Yahoo RSS XML parsing

2007-05-21 Thread Pete Ruckelshaus
Thanks, Ian, huge help. In case anyone else is going through this exercise, here is an initial version: http://weather.yahooapis.com/forecastrss?p=19426&u=f";> wx = trim(cfhttp.filecontent); wx = xmlparse(wx); wx = wx.rss.channel; SELECT description FROM

RE: Yahoo RSS XML parsing

2007-05-21 Thread Ian Skinner
I suspect you will find this a great use: Temp is not a child node of yweather:condition, it is an attribute, so you need to use xmlAttributes, not xmlText, to get it. I'm guessing here, but it should be something close to this, the dump above will show the exact names. #wx.item["yweather:condi

Re: Yahoo RSS XML parsing

2007-05-21 Thread Pete Ruckelshaus
Thanks, Ian, but still no dice. This: #wx.item["yweather:condition"]["temp"].xmltext# yields this error message: Element temp is undefined in a Java object of type class coldfusion.xml.XmlNodeList referenced as The error occurred in *C:\Inetpub\wwwroot\test\xmlrss\default.cfm: line 24*

RE: Yahoo RSS XML parsing

2007-05-21 Thread Ian Skinner
#wx.item.yweather:condition["temp"].xmltext# You where so close with this example; you need to use the array notation to access the structure element with an invalid variable for a key. #wx.item["yweather:condition"]["temp"].xmltext# Confidentiality Notice: This message including any attachmen

Yahoo RSS XML parsing

2007-05-21 Thread Pete Ruckelshaus
Hi, I need to build a quick and dirty app to display weather for a given zip code. I'm planning on using Yahoo!'s weather feed; for example, see http://weather.yahooapis.com/forecastrss?p=19426&u=f The specific issue that I am trying to resolve is using lines like these: How do I reference th

Re: XML Parsing. Odd problem.

2006-10-30 Thread J W
Worked like a charm!! Thanks. Jeff On 10/30/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > > Yup, all the time > > #XMLObj["env:envelope"]["env:body"].xmlchildren[1].XmlText# > > > -- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > - > | 1

RE: XML Parsing. Odd problem.

2006-10-30 Thread Ian Skinner
Yup, all the time #XMLObj["env:envelope"]["env:body"].xmlchildren[1].XmlText# -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning

XML Parsing. Odd problem.

2006-10-30 Thread J W
I am having trouble parsing out a soap response because of colons in element names. How do you parse them? I.e. FRED 390 #XMLObj.env:envelope.env:body.xmlchildren[1].XmlText# gives me a invalid CFML construct error. Anyone run into responses like this? Thanks J ~

RE: XML parsing & link underline

2006-08-17 Thread Oğuz_Demirkapı
Subject: Re: XML parsing & link underline On 8/17/06, Oðuz_Demirkapý <[EMAIL PROTECTED]> wrote: > > Ok. Some more info: > > We have a Java tool which uses Aspose.Slides component ( > http://www.aspose.com/Products/Aspose.Slides/) to generate PPT file. Here is a link fo

Re: XML parsing & link underline

2006-08-17 Thread Denny Valliant
On 8/17/06, Oðuz_Demirkapý <[EMAIL PROTECTED]> wrote: > > Ok. Some more info: > > We have a Java tool which uses Aspose.Slides component ( > http://www.aspose.com/Products/Aspose.Slides/) to generate PPT file. Here is a link for doing it via java: http://www.aspose.com/Community/forums/ShowPost.a

RE: XML parsing & link underline

2006-08-17 Thread Oğuz_Demirkapı
h and I thought that a simple trick would be helpful. Sincerely, Oğuz Demirkapı -Original Message- From: Denny Valliant [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 17. August 2006 03:58 To: CF-Talk Subject: Re: XML parsing & link underline Yeesh... not sure, but maybe it

Re: XML parsing & link underline

2006-08-16 Thread Denny Valliant
Yeesh... not sure, but maybe it's PPT itself adding the link? Most of these new fangled apps automagically transform them to "real" links... Dont' know, really... are you building the PPT using a .HTM file and renaming it, or a similar method? Or do you have an app for PPT generation? Check it'

XML parsing & link underline

2006-08-16 Thread O�uz_Demirkap
Hi, I have a CF project where I parse an XML document by a Java based tool and generate a PPT file. I need to show underline for a link now and I have a syntax as www.mydomain.com in my XML file. But it displays as www.mydomain.com in output. I guess this is an issue on my Ja

Re: XML Parsing in CF Help

2006-05-10 Thread Rob Wilkerson
Hey Jonathan - This worked perfectly for me. And, if you're really just looking for that one element it will be much faster than iterating across the entire document. The code below, as pointed out by Brad, returns a single element array. Code snippet below:

Re: XML Parsing in CF Help

2006-05-10 Thread Michael Traher
loop through the array mydoc.nitf.head.meta testing mydoc.nitf.head.meta[i].XmlAttributes.name for the value you need. On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: -- Mike T Blog http://www.socialpoints.com/ ~| Messa

RE: XML Parsing in CF Help

2006-05-09 Thread Ian Skinner
I tried that already... it doesn't work: Element ap-content-code is undefined in a Java object of type class coldfusion.xml.XmlNodeList referenced as Can you give us a relevant snippet of the XML structure you are trying to read? -- Ian Skinner Web Programmer BloodSource www.Bloo

RE: XML Parsing in CF Help

2006-05-09 Thread Brad Wood
te over the results or do [1] to get the first element returned and then you will have a struct to dig through... ~Brad -Original Message- From: Jonathan Mauney [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 4:00 PM To: CF-Talk Subject: Re: XML Parsing in CF Help This didn'

Re: XML Parsing in CF Help

2006-05-09 Thread Jonathan Mauney
This didn't work either (after changing outer single quotes to double): "Complex object types cannot be converted to simple values." >If you're looking specifically for that element, I'd use >XPath/XMLSearch(). Try this: > >XMLSearch ( mydoc, '/nitf/head/[EMAIL PROTECTED]'ap-online-code']' ) > >

Re: XML Parsing in CF Help

2006-05-09 Thread Jonathan Mauney
I tried that already... it doesn't work: Element ap-content-code is undefined in a Java object of type class coldfusion.xml.XmlNodeList referenced as > Assuming that ap-content-code is a child of the meta node, this should > work. > mydoc.nitf.head.meta['ap-content-code'].XmlAttributes.content

Re: XML Parsing in CF Help

2006-05-09 Thread Rob Wilkerson
If you're looking specifically for that element, I'd use XPath/XMLSearch(). Try this: XMLSearch ( mydoc, '/nitf/head/[EMAIL PROTECTED]'ap-online-code']' ) On 5/9/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > > #mydoc.nitf.head.meta[8].XmlAttributes.content# > > (the above code outputs '1110' as

RE: XML Parsing in CF Help

2006-05-09 Thread Ian Skinner
#mydoc.nitf.head.meta[8].XmlAttributes.content# (the above code outputs '1110' as expected) But I'm worried about the document changing. Can I somehow retrieve this by the "name" attribute (in this example 'ap-content-code') instead of position number? Assuming that ap-content-code is a chil

XML Parsing in CF Help

2006-05-09 Thread jmauney
Hi, I'm working on parsing an xml document and have run into a brick wall. A portion of the xml is below... Here's the issue... I can sucessfully retrieve the "ap-online-code" using the following code: #mydoc.nitf.head.meta[8].XmlAttributes.content# (the above code outputs '1110' as expect

Re: XML Parsing Question...

2006-03-09 Thread Charles Heizer
Thanks, this got me on the right path ... - Charles On Mar 9, 2006, at 9:22 AM, Ian Skinner wrote: > Hello, > I have a xml doc and I want to parse it. What I would like to know is > How do I loop through "ZSERVICELIST" and build a list of all of the > tags (e.g. "ZSVCMODE"). I found that I can f

Re: XML Parsing Question...

2006-03-09 Thread Charles Heizer
CFMX 7.0.1 on Mac OS X On Mar 9, 2006, at 9:22 AM, Ray Champagne wrote: > What version of CF are u using? > > Charles Heizer wrote: >> Hello, >> I have a xml doc and I want to parse it. What I would like to know is >> How do I loop through "ZSERVICELIST" and build a list of all of the >> tags (e

RE: XML Parsing Question...

2006-03-09 Thread Artur Kordowski
PROTECTED] Sent: Thursday, March 09, 2006 6:19 PM To: CF-Talk Subject: XML Parsing Question... Hello, I have a xml doc and I want to parse it. What I would like to know is How do I loop through "ZSERVICELIST" and build a list of all of the tags (e.g. "ZSVCMODE"). I found that I can f

Re: XML Parsing Question...

2006-03-09 Thread Ray Champagne
What I should have added in my last post is that CF now has many XML functions built right in, like XMLParse, etc that should work for you. Charles Heizer wrote: > Hello, > I have a xml doc and I want to parse it. What I would like to know is > How do I loop through "ZSERVICELIST" and build a l

RE: XML Parsing Question...

2006-03-09 Thread Ian Skinner
Hello, I have a xml doc and I want to parse it. What I would like to know is How do I loop through "ZSERVICELIST" and build a list of all of the tags (e.g. "ZSVCMODE"). I found that I can find out how man tags there are by using "ArrayLen(XMLRoot.XmlChildren)" and that works fine. Here is a

Re: XML Parsing Question...

2006-03-09 Thread Ray Champagne
What version of CF are u using? Charles Heizer wrote: > Hello, > I have a xml doc and I want to parse it. What I would like to know is > How do I loop through "ZSERVICELIST" and build a list of all of the > tags (e.g. "ZSVCMODE"). I found that I can find out how man tags > there are by using

XML Parsing Question...

2006-03-09 Thread Charles Heizer
Hello, I have a xml doc and I want to parse it. What I would like to know is How do I loop through "ZSERVICELIST" and build a list of all of the tags (e.g. "ZSVCMODE"). I found that I can find out how man tags there are by using "ArrayLen(XMLRoot.XmlChildren)" and that works fine. Here is a

RE: OT: Javascript XML parsing

2005-10-04 Thread Paul
Well that certainly makes sense now that I consider it. Thanks! -Original Message- From: Robert Munn [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 12:12 PM To: CF-Talk Subject: Re: OT: Javascript XML parsing Oh, brain fart, sorry. Your browser doesn't know about the

Re: OT: Javascript XML parsing

2005-10-04 Thread Robert Munn
;-Original Message- >From: Robert Munn [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 04, 2005 10:28 AM >To: CF-Talk >Subject: Re: OT: Javascript XML parsing > >try this: > >var xmlFile="C:\\test\\menu.xml"; ~~

RE: OT: Javascript XML parsing

2005-10-04 Thread Paul
Good suggestion, but no dice; same error as the C:/\test/\menu.xml attempt... -Original Message- From: Robert Munn [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 10:28 AM To: CF-Talk Subject: Re: OT: Javascript XML parsing try this: var xmlFile="C:\\test\\men

Re: OT: Javascript XML parsing

2005-10-04 Thread Robert Munn
try this: var xmlFile="C:\\test\\menu.xml"; >I am successfully parsing an XML document using the javascript below. I am >running into trouble, however, when I try to parse an xml file that doesn't >exist in the same directory as the calling page. See inline comments below. > > ~~~

OT: Javascript XML parsing

2005-10-04 Thread Paul
I am successfully parsing an XML document using the javascript below. I am running into trouble, however, when I try to parse an xml file that doesn't exist in the same directory as the calling page. See inline comments below. var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); function l

RE: Xml parsing xmlns issue

2005-09-06 Thread gabriel l smallman
ld be: rss.channel.item.products:show_name Which of course you cannot access directly, anyone have a simple method of getting the xml value of products.show_name? gabe -Original Message- From: Massimo Foti [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 06, 2005 4:05 AM To: CF-Talk Subject: Re: Xml pa

Re: Xml parsing xmlns issue

2005-09-06 Thread Massimo Foti
> Im not the familiar with namespace usage in xml. When trying to us mx 7 to > parse this im getting this message: > > "The prefix "xmlns" cannot be bound to any namespace explicitly; neither can > the namespace for "xmlns" be bound to any prefix explicitly." > > Not sure what these means in plain

Xml parsing xmlns issue

2005-09-05 Thread gabriel l smallman
Im not the familiar with namespace usage in xml. When trying to us mx 7 to parse this im getting this message: "The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly." Not sure what these means in plain English. Sho

RE: XML parsing on CF 4

2005-04-21 Thread Emmet McGovern
I wish. It has to be done on their server. The whole thing is behind a firewall running on internal IP's. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 3:00 PM To: CF-Talk Subject: Re: XML parsing on CF 4 Would it be possible to

Re: XML parsing on CF 4

2005-04-21 Thread Bryan Stevenson
IL PROTECTED]> To: "CF-Talk" Sent: Thursday, April 21, 2005 11:49 AM Subject: Re: XML parsing on CF 4 > There might be some COM objects that you could use but you'll have to > search around to find out for sure. > > On 4/21/05, Emmet McGovern <[EMAIL PROTECTED]&

Re: XML parsing on CF 4

2005-04-21 Thread Brian Kotek
There might be some COM objects that you could use but you'll have to search around to find out for sure. On 4/21/05, Emmet McGovern <[EMAIL PROTECTED]> wrote: > I just got a project dumped on my that requires a lot of xml parsing on a > coldfusion 4 server. I know about acti

XML parsing on CF 4

2005-04-21 Thread Emmet McGovern
I just got a project dumped on my that requires a lot of xml parsing on a coldfusion 4 server. I know about activ's CFX_XMLParser. I've never tried it so I'm not sure how well it works. I just want to see what all my options are. Are there any other solutions that date back to

XML Parsing Question

2004-10-06 Thread Chad McCue
I have an XML document that looks like this: xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'>     rs:basetable='Products' rs:basecolumn='SKURcrd'>                smShortDesc='Blk Mountain Sling/Swivels 1-1/4"' Warran

RE: XML parsing in ColdFusion

2004-09-03 Thread Ian Skinner
I have never tried to do it. I am hard pressed to think of why I would ever want to maybe MM developers were the same way. Any chance you could give me a real world application for this? Maybe I am missing out on some revolutionary concept :) Adam H Never tried to copy a node from one XML docum

Re: XML parsing in ColdFusion

2004-09-03 Thread Adam Haskell
I have never tried to do it. I am hard pressed to think of why I would ever want to maybe MM developers were the same way. Any chance you could give me a real world application for this? Maybe I am missing out on some revolutionary concept :) Adam H On Thu, 2 Sep 2004 13:01:42 -0700, Rob <[EMAIL

RE: XML parsing in ColdFusion SOLVED (mostly)

2004-09-02 Thread Ian Skinner
Using some information I found here "Use XSLT to Merge XML Documents" [http://www.fawcette.com/archives/premier/mgznarch/xml/2001/06jun01/rj0103/rj0103.asp], I got this to work in a more natively XMLish way without relying on brute force deep copying or possibly depreciated hidden functions.   I'm

Re: XML parsing in ColdFusion

2004-09-02 Thread Rob
It really is that difficult http://www-106.ibm.com/developerworks/xml/library/x-tipmvdom.html On Thu, 2 Sep 2004 12:39:53 -0700, Ian Skinner <[EMAIL PROTECTED]> wrote: > Thanks, that worked, now I just need to decide if I want to use undocumented features or an UDF. > > Is this really supposed t

RE: XML parsing in ColdFusion

2004-09-02 Thread Ian Skinner
Thanks, that worked, now I just need to decide if I want to use undocumented features or an UDF. Is this really supposed to be this difficult?  Or am I just being difficult again? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. R

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
This seems to do the trick, except for the id attribute... Ian male Joe male John male Sue female Ade [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: XML parsing in ColdFusion

2004-09-02 Thread Adam Haskell
> populate the second. > > Ade > > -Original Message- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: 02 September 2004 20:04 > To: CF-Talk > Subject: RE: XML parsing in ColdFusion > > I'm still not getting this to work.  I tried usi

Re: XML parsing in ColdFusion

2004-09-02 Thread Ian Sheridan
t;[EMAIL PROTECTED]> Date: Thu, 2 Sep 2004 12:04:07 -0700 Subject: RE: XML parsing in ColdFusion To: CF-Talk <[EMAIL PROTECTED]> I'm still not getting this to work.  I tried using what you provided, but I'm only getting errors like the following. "WRONG_DOCUMENT_ERR: That n

Re: XML parsing in ColdFusion

2004-09-02 Thread Massimo, Tiziana e Federica
> "WRONG_DOCUMENT_ERR: That node doesn't belong in this document." CF, under the hood, use DOM APIs. With DOM every node has an its owner document and you can't move it around across different documents. The solution is to first "clone" the node and move the resulting clone (removing the original

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
t: RE: XML parsing in ColdFusion I'm still not getting this to work.  I tried using what you provided, but I'm only getting errors like the following. "WRONG_DOCUMENT_ERR: That node doesn't belong in this document." "Error casting an object of type to an incompat

RE: XML parsing in ColdFusion

2004-09-02 Thread Ian Skinner
I'm still not getting this to work.  I tried using what you provided, but I'm only getting errors like the following. "WRONG_DOCUMENT_ERR: That node doesn't belong in this document." "Error casting an object of type to an incompatible type. This usually indicates a programming error in Java, alth

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
with a new contact element in the dump, writing it to file should be this... output="#ToString(xmlContacts)#"> Let us know how you get on. Ade -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 19:10 To: CF-Talk Subject: XML parsing in ColdF

RE: XML parsing in ColdFusion

2004-09-02 Thread Ian Skinner
That's what I'm experimenting with now. I'm getting errors like this at the moment "Invalid XML identifier encountered.  The identifier [EMAIL PROTECTED] is not a valid XML identifier." This just doesn't tell ME much that I can use. -- Ian Skinner Web Programmer BloodSource www.Blo

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
ECTED] Sent: 02 September 2004 19:10 To: CF-Talk Subject: XML parsing in ColdFusion I have two similar XML structures.  I want to append a node from one structure to the other.  Can somebody point out to me how I would do this in ColdFusion?  I am apparently not getting the co

XML parsing in ColdFusion

2004-09-02 Thread Ian Skinner
I have two similar XML structures.  I want to append a node from one structure to the other.  Can somebody point out to me how I would do this in ColdFusion?  I am apparently not getting the concept. xmlDoc1 = ...   

XML parsing question - missing elements

2003-11-10 Thread Jeff Beer
When you have an XML record with a missing element (not just an empty element), what's the best way to test for it? I'm using CFTRY/CFCATCH, and it seems there must be a better way:     myXMLDoc.data.star[idx].image.XMLText)> I can't control the format of the source.. Just the p

RE: Odd XML parsing behavior

2003-10-13 Thread Rich Z
Foti [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 9:30 AM To: CF-Talk Subject: Re: Odd XML parsing behavior > And while we're on the topic: are there better alternatives to MX's > native XML support? You can call a Java parser directly and do pretty much whatever

Re: Odd XML parsing behavior

2003-10-13 Thread Massimo Foti
> And while we're on the topic: are there better alternatives to MX's > native XML support? You can call a Java parser directly and do pretty much whatever you want with it... BTW I have an old quote on this: I have yet to come across an XML system where the true performance bottleneck is XML pa

Odd XML parsing behavior

2003-10-13 Thread Rich Z
Maybe I'm just being a NAG here, but here's what's happening: I'm parsing 2 RSS feeds when a page loads with MX's xmlparse function. First thing I noticed was that even though the files were local, it wasn't very quick. I put some trace code in and noticed that the first time the xmlparse functi

Re: xml parsing

2003-06-05 Thread Jochem van Dieten
Sean A Corfield wrote: > Shannon's put an RSS feed on his site? That's awesome - I must > subscribe to it! (Once he's fixed those darn & links!!! :) > > It's interesting to see how RSS is cropping up on non-IT / non-news > sites. Anyone got other interesting examples? University library here h

Re: xml parsing

2003-06-05 Thread Jochem van Dieten
Critz wrote: > > using cfmx, I am trying to parse this feed: > http://www.bmezine.com/newsfeed/bmenews.rss > > but i keep getting errors. Anyone mind having a quick gander? Download Mozilla (http://www.mozilla.org/), install the Checky toolbar (http://checky.mozdev.org/) and you have a fe

Re: xml parsing

2003-06-05 Thread Critz
oi Mark!! yeap, cheers. that is why i was getting the error. I still had an xmlformat() on the variable. I had read that it escapes what is needed, and when i first threw it in there it allowed me to get past my other errors... so i thought it was the correct thing. preciate the look. thanks

Re: xml parsing

2003-06-05 Thread Sean A Corfield
Shannon's put an RSS feed on his site? That's awesome - I must subscribe to it! (Once he's fixed those darn & links!!! :) It's interesting to see how RSS is cropping up on non-IT / non-news sites. Anyone got other interesting examples? On Wednesday, Jun 4, 2003, at 19:11 US/Pacific, Critz wrote

RE: xml parsing

2003-06-05 Thread cfhelp
I got this error on my Linux box. XML Parsing Error: not well-formed Location: http://www.bmezine.com/newsfeed/bmenews.rss Line Number 14, Column 97: Rick -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:06 PM To: CF-Talk Subject: RE

Re: xml parsing - SOLVED

2003-06-05 Thread Critz
in Homesite but at least it's not Outlook. >> -Original Message- >> From: Tony Weeg [mailto:[EMAIL PROTECTED] >> Sent: Thursday, 5 June 2003 3:02 p.m. >> To: CF-Talk >> Subject: RE: xml parsing >> >> you must have an oi (insert name here)!

RE: xml parsing

2003-06-05 Thread Matthew Walker
alk > Subject: RE: xml parsing > > you must have an oi (insert name here)!! key on your keyboard ;) > > tony > > -Original Message- > From: Critz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 10:59 PM > To: CF-Talk > Subject: Re: xml parsing >

Re: xml parsing

2003-06-05 Thread Critz
OTECTED] TW> Sent: Wednesday, June 04, 2003 10:59 PM TW> To: CF-Talk TW> Subject: Re: xml parsing TW> oi Matthew!! TW> doesn't look like it. I can view the file in IE. and .NET Studio shows TW> the data from it properly. :( TW> Crit TW> ---

RE: xml parsing

2003-06-05 Thread Mark A. Kruger - CFG
It's not you or cfmx - it's the feed. The values should be xml-proofed (url encoded for those long URL strings with ampersands). -mark -Original Message- From: Critz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:12 PM To: CF-Talk Subject: xml parsing oi CF-Talk,!

Re: xml parsing

2003-06-05 Thread jon hall
&'s are not encoded properly in the xml file. I hate hate hate people who don't properly encode xml...grrr. I almost wish there was a switch to make MX less anal about proper XML. There is just so much bad XML out there :/ btw...if you can get it, I reccomend XMLSpy. Usually it can detect problem

RE: xml parsing

2003-06-05 Thread Matthew Walker
The & in is not valid XML. Should be & even in a URL. > -Original Message- > From: Critz [mailto:[EMAIL PROTECTED] > Sent: Thursday, 5 June 2003 2:12 p.m. > To: CF-Talk > Subject: xml parsing > > oi CF-Talk,!! > > using cfmx, I am trying to parse th

xml parsing

2003-06-05 Thread Critz
oi CF-Talk,!! using cfmx, I am trying to parse this feed: http://www.bmezine.com/newsfeed/bmenews.rss but i keep getting errors. Anyone mind having a quick gander? ta Crit --- [This E-mail scanned for viruses by Declude Virus] ~~

RE: xml parsing

2003-06-04 Thread Mark A. Kruger - CFG
Critz, The snippet below validates ok so it should load ok. I always save these in a file and use IE to display them - or (as has been suggested) use XML spy. Tell me how you used XMLformat to solve the problem? If the feed is not in your control I'm not sure how you could effectively do that. Did

Re: xml parsing

2003-06-04 Thread Critz
st it's not Outlook. >> -Original Message- >> From: Tony Weeg [mailto:[EMAIL PROTECTED] >> Sent: Thursday, 5 June 2003 3:02 p.m. >> To: CF-Talk >> Subject: RE: xml parsing >> >> you must have an oi (insert name here)!! key on your keyboard ;) &g

RE: xml parsing

2003-06-04 Thread Tony Weeg
you must have an oi (insert name here)!! key on your keyboard ;) tony -Original Message- From: Critz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:59 PM To: CF-Talk Subject: Re: xml parsing oi Matthew!! doesn't look like it. I can view the file in IE. and .NET S

Re: xml parsing

2003-06-04 Thread Critz
't have any. >> -Original Message- >> From: Critz [mailto:[EMAIL PROTECTED] >> Sent: Thursday, 5 June 2003 2:44 p.m. >> To: CF-Talk >> Subject: Re: xml parsing >> >> oi Mark!! >> >> ok, I am/have gotten past that using xmlfo

RE: xml parsing

2003-06-04 Thread Matthew Walker
This might be white space at the start of the XML (before ). Don't have any. > -Original Message- > From: Critz [mailto:[EMAIL PROTECTED] > Sent: Thursday, 5 June 2003 2:44 p.m. > To: CF-Talk > Subject: Re: xml parsing > > oi Mark!! > > ok, I am

Re: xml parsing

2003-06-04 Thread Critz
eed. The values should be xml-proofed (url MAKC> encoded for those long URL strings with ampersands). MAKC> -mark MAKC> -Original Message- MAKC> From: Critz [mailto:[EMAIL PROTECTED] MAKC> Sent: Wednesday, June 04, 2003 9:12 PM MAKC> To: CF-Talk MAKC> Subject: xml parsi

RE: XML parsing using CF5

2003-02-20 Thread Andres
Hey Jon, worked wonderfully! Thanks a lot! andres -Original Message- From: jon hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 7:16 PM To: CF-Talk Subject: Re: XML parsing using CF5 Seeing as I'm sitting here waiting for a client to get done having dinner so th

Re: XML parsing using CF5

2003-02-20 Thread jon hall
Seeing as I'm sitting here waiting for a client to get done having dinner so that we can work even later (blah...) I tested this and it worked for me. I haven't used the getElementsByTagName method before, and generally use selectNodes and XSL to get my nodelist. Theoretically getElementsByTagName

RE: XML parsing using CF5

2003-02-20 Thread Andres
I read the very same article and tried using Address.text var, but then i got the following error: ---0---0---0---0---0---0---0---0---0---0---0---0 Error Diagnostic Information An error occurred while evaluating the expression: #address.text# Error near line 48, column 13. ~~

Re: XML parsing using CF5

2003-02-20 Thread jon hall
, you wrote: A> No. The result is a valid string.. .here is the returning xml string: A> A> 6406 IVY LNGREENBELTMD207701440 A> -Original Message- A> From: jon hall [mailto:[EMAIL PROTECTED]] A> Sent: Thursday, February 20, 2003 6:21 PM A> To: CF-Talk A> Subject: R

RE: XML parsing using CF5

2003-02-20 Thread Andres
No. The result is a valid string.. .here is the returning xml string: 6406 IVY LNGREENBELTMD207701440 -Original Message- From: jon hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 6:21 PM To: CF-Talk Subject: Re: XML parsing using CF5 When you look at the content of

Re: XML parsing using CF5

2003-02-20 Thread jon hall
When you look at the content of address in the actual xml returned, is it null? If so, that is the problem. CF can not handle nulls returned from a COM object. SelectSingleNode() returns null if the element is blank. -- jon mailto:[EMAIL PROTECTED] Thursday, February 20, 2003, 5:51:06 PM, you

XML parsing using CF5

2003-02-20 Thread Andres
Hello All, I am trying to implement the USPS API tool on our website. It requires that we parse an XML string that is returned back to us via an http get call. I think everything is ok up to the point where i have to parse the result. I get the following error: ---0---0---0---0---0---0---0---0

RE: XML parsing error...

2002-10-02 Thread Rob Rohan
-Talk Subject: XML parsing error... i'm trying to read in an XML file to do some manipulation with it - Using CFFile it works fine: but if i want to avoid a CFFILE call I could use CFSAVECONTENT eg; my CFC starts with: myblog = xmlParse(application.blogXML);

XML parsing error...

2002-10-02 Thread John Beynon
i'm trying to read in an XML file to do some manipulation with it - Using CFFile it works fine: but if i want to avoid a CFFILE call I could use CFSAVECONTENT eg; my CFC starts with: myblog = xmlParse(application.blogXML); blogtitle = myblog.blog.blogtitle.xmlText;

RE: Quasi OT: XML Parsing solutions

2001-10-26 Thread Pete Freitag
/ -Original Message- From: Carlisle, Eric [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 3:14 PM To: CF-Talk Subject: Quasi OT: XML Parsing solutions I'm getting to the point where I'm starting to depend more and more on content providers and XML. I wanted to get o

Re: Quasi OT: XML Parsing solutions

2001-10-26 Thread Gary Kraeger
www.cfdev.com has one Gary - Original Message - From: "Carlisle, Eric" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 3:13 PM Subject: Quasi OT: XML Parsing solutions > I'm getting to the point where

RE: Quasi OT: XML Parsing solutions

2001-10-26 Thread Joseph DeVore
You might find this useful in your quest: http://www.siteobjects.com/examples/soxml/index.cfm Joseph DeVore VeloxWeb Technologies -Original Message- From: Carlisle, Eric [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 12:14 PM To: CF-Talk Subject: Quasi OT: XML Parsing

Quasi OT: XML Parsing solutions

2001-10-26 Thread Carlisle, Eric
I'm getting to the point where I'm starting to depend more and more on content providers and XML. I wanted to get opinions on server side XML parsing solutions. How is the MS one? Are there better ones? Many thanks :) ~~ Stru

RE: XML parsing for UNIX

2001-09-25 Thread Pete Freitag
CFX_XMLParser -> http://www.cfdev.com/xml (written in java) -Original Message- From: Willy Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 7:07 PM To: CF-Talk Subject: XML parsing for UNIX The article in CFDJ has us instantiating a COM object in order to parse the

RE: XML parsing for UNIX

2001-09-25 Thread Dave Watts
> The article in CFDJ has us instantiating a COM object in > order to parse the XML, but COM is not supported on UNIX. > How do we do this on UNIX? I haven't done this myself, but there are some Java XML parsers which you can automate through CFOBJECT, or by writing a Java CFX to work as a wra

XML parsing for UNIX

2001-09-25 Thread Willy Ray
The article in CFDJ has us instantiating a COM object in order to parse the XML, but COM is not supported on UNIX. How do we do this on UNIX? Willy ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for