Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
tinu8805 #1
XML problem with MX 6.1 Upd. 3
Hi there
I have a strange problem that hinders me from progressing for 2 days now.
Against the same CF server I run those two XML statements
1.
----
<cfscript>
root = XMLparse (the_msg);
sc = xmlSearch (root, "/klicket_protocol/request/action/req_create_organiser");
schash = Hash (sc[1].name.xmltext & sc[1].contact_person.xmltext &
sc[1].email.xmltext);
...
</cfscript>
----
This works fine, sc contains the array I expect.
Now, this stuff does NOT show anything. The xml is another, but it is correct
afaik.
---
<cfset root = XMLParse (s)>
<cfdump var=#root#>
<cfset xnode = xmlSearch (root, "klicket_protocol/response")>
<cfdump var=#xnode#>
---
I CAN cfdump var=root and I see the entire protocol parsed.
However, the xnode is of expected type array - but is EMPTY!
I have NO idea why this does NOT work .... here is the XML I want to process:
Please see this image for the screen shot of the above cfdump code and the xml
....
[url]http://www.mindpower.com/cf_stuff/xml.jpg[/url]
ANY idea extremly appreciated!!!
Thanks, Martin
tinu8805 Guest
-
contribute problem - access denied file may not existpermission problem
Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,... -
Problem playing Quicktime thru .DCR embedded in HTML - pathreferencing problem?
Greetings earthlings and Director heads. Here's the problem: created an HTML file containing shockwave (dcr) movie that calls quicktime movies in... -
Uploading problem = weird warning (was: access denied problem.....)
Hi, I had a problem where my upload form was not working on our production server but was working on two other servers, after checking the... -
#21611 [Opn]: Problem with version_compare() (Was: Problem with pear cli and release numbers)
ID: 21611 Updated by: et@php.net -Summary: Problem with pear cli and release numbers Reported By: jan at horde... -
Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I... -
tinu8805 #2
XML problem with MX 6.1 Upd. 3
Hi there
I have a strange problem that hinders me from progressing for 2 days now.
Against the same CF server I run those two XML statements
1.
----
<cfscript>
root = XMLparse (the_msg);
sc = xmlSearch (root, "/klicket_protocol/request/action/req_create_organiser");
schash = Hash (sc[1].name.xmltext & sc[1].contact_person.xmltext &
sc[1].email.xmltext);
...
</cfscript>
----
This works fine, sc contains the array I expect.
Now, this stuff does NOT show anything. The xml is another, but it is correct
afaik.
---
<cfset root = XMLParse (s)>
<cfdump var=#root#>
<cfset xnode = xmlSearch (root, "klicket_protocol/response")>
<cfdump var=#xnode#>
---
I CAN cfdump var=root and I see the entire protocol parsed.
However, the xnode is of expected type array - but is EMPTY!
I have NO idea why this does NOT work .... here is the XML I want to process:
Please see this image for the screen shot of the above cfdump code and the xml
....
[url]http://www.mindpower.com/cf_stuff/xml.jpg[/url]
ANY idea extremly appreciated!!!
Thanks, Martin
tinu8805 Guest



Reply With Quote

