Seamus
I think your problem is that you have coldfusion tags inside the string
being set to tempxml and is thus being ignored instead of interpreted.
What version of cf are you using? If you are using CF5 you can use
cfsavecontent to wrap the output instead of using cfset.
In CFMX I think there a
Thanks Kola,
I have checked that the query returns multiple records - and it does.
I am using CF5.
I can write & read the xml file - but as you suggest the is
getting ignored (I think).
This is my xml file
-
-
1
-
-
Any help gratefully received
(I tried cfsavecontent but can't get the
mailto:[EMAIL PROTECTED]]
>> Sent: 11 December 2002 12:23
>> To: CF-Talk
>> Subject: RE: xml question
>>
>> Thanks Kola,
>> I have checked that the query returns multiple records - and it does.
>> I am using CF5.
>> I can write & read the x
I think if you reference the DTD in the XML document won't IE display it
the way it should look?
I usually just use the MS XML parser and walk through it doing what I
need to do with each node.
J.
John Wilker "Codito, ergo sum"
Web Applications Consultant, and Writer
Macromedia Certified Col
how does one reference a dtd in an xml doc?
ive looked, and im coming up shortthanks.
tony
-Original Message-
From: John Wilker [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 10, 2002 2:42 PM
To: CF-Talk
Subject: RE: xml question
I think if you reference the DTD in the XML
RE: xml question
how does one reference a dtd in an xml doc?
ive looked, and im coming up shortthanks.
tony
-Original Message-
From: John Wilker [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 10, 2002 2:42 PM
To: CF-Talk
Subject: RE: xml question
I think if you reference the DT
> If i have a DTD for an xml document that i am
> getting back, as a response from a webservice, whats
> the easiest way to take that xml feed that i get
> back, and format for a web page (using that DTD?)
I think you're misunderstanding the purpose of a DTD, which is not to
provide formatting in
lto:[EMAIL PROTECTED]]
Sent: Saturday, August 10, 2002 3:45 PM
To: CF-Talk
Subject: RE: xml question
> If i have a DTD for an xml document that i am
> getting back, as a response from a webservice, whats
> the easiest way to take that xml feed that i get
> back, and format for a we
> ok , got that, that made/makes sense...i had sorta figgered
> that out, when i had already hit "Send"...so then, dave, whats
> ur take on using css-2 to format that xml doc, into html?
> or would you use xsl to transform the xml to html?
I'd probably use XSL.
Dave Watts, CTO, Fig Leaf Softw
Unless you have some very complex, varied, or large xml documents, you
may want to simply convert your xml into a CF datatype (a structure)
and get a lot more flexibility as far as your design goes. SOXML can
do this. If this is going to be running on a CF platform, why not use
it? Either that, or
If you're on NT you could use a com object, or use some of the other freely
available tools. MS has a set of com-based xml tools. Depending on your app,
you might be able to write it in JavaScript.
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]]
Sent: Monday, Ma
Bob, I wrote an article on using the MS XMLDOM COM object with CF to parse
conventional XML files; it's at:
http://www.sys-con.com/xml/archives/0102/gassner/index.html
Take a look and email me off-list if you need any clarification.
David
> -Original Message-
> From: Robert Everland II
pdate the knowledge base article.
- Original Message -
From: "David Gassner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 23, 2000 7:29 AM
Subject: RE: XML Question
> Bob, I wrote an article on using the MS XMLDOM COM object with CF to parse
> convent
Check out http://www.xmltree.com. James Carlyle has set up an excellent
resource for XML content. If you search the discussion forums you will find
a lot of great information on handling XML with CF.
HTH,
Steve
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]]
Sent:
I've been playing with IBM's java-based xerces processor from
and have been having some good results.
David
> -Original Message-
> From: Sean Renet [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 23, 2000 11:09 AM
> To: [EMAIL PROTECTED]
> Subject: Re: XML Question
David Gassner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 23, 2000 11:27 AM
Subject: RE: XML Question
> Interesting; I never actually tested Allaire's approach, but included the
> reference in my article for the sake of completeness. My article focuses
an Renet [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 23, 2000 5:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: XML Question
>
>
> yes, you would think someone would have tested the knowledge base article.
> I though it necessary to point this out as you directed someone that ask
Thanks David, I will give it a go. You the man.
- Original Message -
From: "David Gassner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 23, 2000 9:30 PM
Subject: RE: XML Question
> Sean, I got Allaire's example working. I found these pro
rian Kohnen
At 01:21 AM 5/24/00 -0700, you wrote:
>Thanks David, I will give it a go. You the man.
>- Original Message -
>From: "David Gassner" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 23, 2000 9:30 PM
>Subject: RE: XML Que
hey have a pretty simple
example on how to use XSL.
Shawn Regan
--_=_NextPart_001_01BFCA95.BF5DC120
Content-Type: text/html;
charset="iso-8859-1"
RE: XML Question
do a search at microsfot.com for beginning XSL. they have a pretty
simple example on how to us
Might be stating the obvious, but have you used cfdump to do a visual check
of your struct outhere ?
> -Original Message-
> From: Andres [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 1 March 2002 12:50 pm
> To: CF-Talk
> Subject: XML question
>
>
> This a rather long email...
>
> i am trying
I'd bet that it's same the problem I ran into when using MSXML via
cfobject to grab the UPS XML, which is essentially what soxml does.
CFObject apparently doesn't understand the nulls that MSXML passes back
when an XML element is empty, and bombs. If you are running an older
version of msxml yo
ndres
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Thu 2/28/2002 8:45 PM
To: CF-Talk
Cc:
Subject: Re: XML question
I'd bet that it's same the problem I ran into when using MSXML via
cfobj
Andres" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 11:34 PM
Subject: RE: XML question
> Jon,
> Thank you for your help on this.
>
> Do you know if msxml will somehow affect CF's wddx implementation? i dont
kno
PROTECTED]
-Original Message-
From: Rey Bango [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 11:40 PM
To: CF-Talk
Subject: Re: XML question
Andres,
Microsoft's XMLDOM component won't interfere w/ WDDX. The XMLDOM component
is a COM object which needs to be invoked
I have a funny feeling Rey knows all about wddx already ;-)
It's openwddx.org now though.
jon
- Original Message -
From: "Tim Stadinski" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 6:46 PM
Subject: RE: XML ques
oints to
www.wddx.org still, sure does instill confidence in me. ;)
Snipe -
- Original Message -
From: "Jon Hall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 6:32 PM
Subject: Re: XML question
> I have a funny
> What am I missing when trying to
> access the pattern node?
cfdump.
Nick
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
This works just fine for me and returns 1.
returntype="numeric">
file="C:\inetpub\wwwroot\temp\ev.xml"
variable="event">
ArrayLen(variables.calEvents.events.event.XmlChildren) />
#readXml()#
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[Us
The best advice I can give, hopefully you are on MX, is . When I was learning to parse an XML file, I just used starting at the root, working down until I got to the right piece. I'm not sure, but for some reason, I just could never get it right if I just tried to jump right to the node, I alwa
Do an xml search for the attribute with XPath..
xmlSearch(xmlDocObject, "Pages/[EMAIL PROTECTED]'2']");
Or Iterate through the node to find "id=2"
Joe Eugene
> -Original Message-
> From: Brad Roberts [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 10, 2003 8:15 PM
> To: CF-Talk
>
find this anywhere in the docs (or
web).
Get the children of an element, easy... get the parent of an element, I have
no clue...
Thanks,
Brad
-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 12:28 AM
To: CF-Talk
Subject: RE: XML Question
Do an x
gt; Sent: Thursday, September 11, 2003 1:29 AM
> To: CF-Talk
> Subject: RE: XML Question
>
>
> Let me re-ask my question...
>
> What's the best way to insert a child element under id="2">, when you
> don't know where it's at in the XML doc? All you kno
2, 2003 12:02 AM
To: CF-Talk
Subject: RE: XML Question
> Get the children of an element, easy... get the parent of an
> element, I have
> no clue...
CFMX allows basic xml parsing in the simplest form(i.e array and structs)
If you are trying to accomlish XML Parsing in the Popular or Be
> Cool! I'd love to be able to take advantage of these methods, but I don't
> know squat about Java.
>
> So, how do you call these methods from within CF? Any examples you can
> point me to?
Well, in order to turn an XML string into a DOM object you could use this:
http://www.cfmentor.com/code
Have you looked into using XMLSearch function?
On Mon, 31 Jan 2005 10:38:16 -0800, Charles Heizer <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm new to using XML parsing in coldfusion so I hope I'm phrasing this
> question properly. I was wondering if it's possible to query a xml doc
> and return all
Well to start with, in your code example, name, address and city are child
notes, not attributes.
Charles
123 Main St.
Livermore
If your document was formatted like this, they would be attributes.
So for the former; name, address and city are part of the XMLchildren's
Thanks,
This works great!
- Charles
On Jan 31, 2005, at 11:05 AM, Ian Skinner wrote:
>
> #xmlVAR.service.XMLchildren[i].xmlName# =
> #xmlVAR.service.XMLchildren[i].xmlText#
> http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i
38 matches
Mail list logo