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

RE: Unit Testing an XML Parsing Function

2007-07-26 Thread Jaime Metcher
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 Testing an XML Parsing Function I have

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=19426u=f The specific issue that I am trying to resolve is using lines like these:

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 attachments is

Re: Yahoo RSS XML parsing

2007-05-21 Thread Pete Ruckelshaus
Thanks, Ian, but still no dice. This: cfoutputp#wx.item[yweather:condition][temp].xmltext#/p/cfoutput yields this error message: Element temp is undefined in a Java object of type class coldfusion.xml.XmlNodeList referenced as The error occurred in

RE: Yahoo RSS XML parsing

2007-05-21 Thread Ian Skinner
I suspect you will find this a great use: cfdump var=#wx# 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.

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: !--- Uses a Yahoo! weather RSS feed. --- !--- Set a query object that will allow a lookup of weather descriptions. If none is found, set response as not available Dump the query into the

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. cfxml variable=XMLObj env:envelope env:body ab1:unameFRED/ab1:uname ab1:score390/ab1:score /env:body /env:envelope cfxml

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

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 link underline

2006-08-18 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 for doing it via java: http

RE: XML parsing link underline

2006-08-17 Thread Oğuz_Demirkapı
of problem while working with XML Flash 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

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:

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 lt;ugt;www.mydomain.comlt;/ugt; in my XML file. But it displays as uwww.mydomain.com/u in output. I guess this is an

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's

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/ ~|

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: cfoutput cfxml variable=xmldoc

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: cfset mydoc = XmlParse(xmldoc) #mydoc.nitf.head.meta[8].XmlAttributes.content# (the above

RE: XML Parsing in CF Help

2006-05-09 Thread Ian Skinner
cfset mydoc = XmlParse(xmldoc) #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

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: cfset mydoc = XmlParse(xmldoc) #mydoc.nitf.head.meta[8].XmlAttributes.content# (the

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 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']' ) On

RE: XML Parsing in CF Help

2006-05-09 Thread Brad Wood
] 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't work either (after changing outer

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

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: 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

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 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 list

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 find out how man tags

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.g.

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 find out

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

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.

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\\menu.xml

Re: OT: Javascript XML parsing

2005-10-04 Thread Robert Munn
: 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; ~| Discover CFTicket - The leading ColdFusion Help Desk

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 drive

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 English.

RE: Xml parsing xmlns issue

2005-09-06 Thread gabriel l smallman
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 parsing

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. Should

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 cf4? CF4

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 activ's CFX_XMLParser. I've

Re: XML parsing on CF 4

2005-04-21 Thread Bryan Stevenson
-talk@houseoffusion.com 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] wrote: I just got a project dumped on my

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 hand

XML Parsing Question

2004-10-06 Thread Chad McCue
I have an XML document that looks like this: xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema' s:Schema id='RowsetSchema' s:ElementType name='row' content='eltOnly'

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

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

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 = root member memberchild1 ... memberchildN /member /root xmlDoc2 = root member

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
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 concept. xmlDoc1 = root member memberchild1

RE: XML parsing in ColdFusion

2004-09-02 Thread Ian Skinner
That's what I'm experimenting with now. cfset doc2.root.xmlChildren[99] = xmlElemNew(doc2, doc1.root.xmlChildren[1]) 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

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
on="" file=#ExpandPath('.')#\contacts.xml 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 ColdFusion I have two similar XML structures.I w

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, although

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
: 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 incompatible type. This usually indicates

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 node

Re: XML parsing in ColdFusion

2004-09-02 Thread Ian Sheridan
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 node doesn't belong in this document. Error casting an object of type

Re: XML parsing in ColdFusion

2004-09-02 Thread Adam Haskell
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 using what you provided, but I'm only getting errors like the following

RE: XML parsing in ColdFusion

2004-09-02 Thread Adrian Lynch
This seems to do the trick, except for the id attribute... cfxml variable=doc1 root member id=10 nameIan/name sexmale/sex /member /root /cfxml cfxml variable=doc2 root member id=1 nameJoe/name sexmale/sex /member member id=2 nameJohn/name sexmale/sex /member

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

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 to be

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

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: cftry cfset QuerySetCell(myQuery,'image', myXMLDoc.data.star[idx].image.XMLText) cfcatch type=Any cfset

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

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

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 you want

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 few

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 has

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-05 Thread Matthew Walker
The in link is not valid XML. Should be amp; 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 this feed: http://www.bmezine.com

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

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,!! using

Re: xml parsing

2003-06-05 Thread Critz
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 TW Wednesday, June 4, 2003, 10:49:33 PM

RE: xml parsing

2003-06-05 Thread Matthew Walker
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 oi Matthew!! doesn't look like it. I can view the file in IE

Re: xml parsing - SOLVED

2003-06-05 Thread Critz
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)!! key on your keyboard ;) tony -Original Message- From: Critz

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

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

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-04 Thread Critz
). 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 parsing MAKC oi CF-Talk,!! MAKC using cfmx, I am trying to parse this feed: MAKC http://www.bmezine.com/newsfeed/bmenews.rss

RE: xml parsing

2003-06-04 Thread Matthew Walker
This might be white space at the start of the XML (before ?xml version=1.0?). 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/have gotten past

Re: xml parsing

2003-06-04 Thread Critz
?). 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/have gotten past that using xmlformat on it... but it says document root element is missing. I am trying

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 Studio

Re: xml parsing

2003-06-04 Thread Critz
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 ;) tony -Original Message- From: Critz [mailto:[EMAIL PROTECTED

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.

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:

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

RE: XML parsing using CF5

2003-02-20 Thread Andres
:[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 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

Re: XML parsing using CF5

2003-02-20 Thread jon hall
: jon hall [mailto:[EMAIL PROTECTED]] A Sent: Thursday, February 20, 2003 6:21 PM A To: CF-Talk A Subject: Re: XML parsing using CF5 A When you look at the content of address in the actual xml returned, is A it null? If so, that is the problem. CF can not handle nulls returned A from a COM object

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
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
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 that we

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: cffile action=read file=#request.pathtoXML#\#request.XMLfilename# variable=application.blogXML but if i want to avoid a CFFILE call I could use CFSAVECONTENT eg; cfsavecontent

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: cffile action=read file=#request.pathtoXML#\#request.XMLfilename# variable=application.blogXML but if i want to avoid a CFFILE call I could use CFSAVECONTENT eg

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 :) ~~ Structure your

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

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 I'm starting to depend more and more on content

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 opinions

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

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

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 XML