Fairly new to CF, and I realize this is an older thread but the same issue
still applies.
I'm using CF8 and IE6. I need the
line in my XML output for IE to render it without the error ("An invalid
character was found in text content..."). If I leave the line at the top I
> The following code produces this error:
> The markup in the document following the root element must be
> well-formed.
>
> ...
>
>
>
>
>
> #value_1#
> #value_2#
> #value_3#
>
>
>
Prior to CF 7, you can't include the XML declaration within CFXML.
>
And I would NEVER suggest to use it. :)
Use Unicode wherever you can use. If your platform/program/solution do
not work with it then change it, not the unicode part. :)
Walter Conti wrote:
> Thanks everybody for your replies. As it happens sometimes, the most obvious
> was the culprit: some
Thanks everybody for your replies. As it happens sometimes, the most obvious
was the culprit: some tags missing. Learn quite a bit from your
intervention though!.
And to close this topic let me ask how to change the standard XML declaration
produced by CFXML from
to
I tried with preceedi
t: RE: CFXML tag: Not well-formed xml output.
>I just tried a similar thing and it worked. Try removing the query
> values (#value_[0-9]#)... Just do the XML tag structure. See if it still
> errors out. If not, then it's probably a data issue. Try wrapping the
> query values in XmlF
>
> -Original Message-
> From: Walter Conti [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 10, 2006 3:21 PM
> To: CF-Talk
> Subject: CFXML tag: Not well-formed xml output.
>
> A nudge in the right direction.
>
> The following code produces this error
anced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
www.bennadel.com/ask-ben/
-Original Message-
From: Walter Conti [mailto:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 3:21 PM
To: CF-Talk
Subject: CFXML tag: Not well-formed xml output.
A nudge in the right direction.
A nudge in the right direction.
The following code produces this error:
The markup in the document following the root element must be well-formed.
Select value_1, value_2, value_3
from myTable
order by value_1
#value_1#
#value_2#
#value_3#
That's it!
Thanks,
Mark
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 14, 2004 11:34 AM
To: CF-Talk
Subject: RE: Quotes in XML Output
XMLFormat()?
> -Original Message-
> From: Mark Leder [mailto:[EMAIL PROTECTED]
> Sent: 14 September 2004
XMLFormat()?
> -Original Message-
> From: Mark Leder [mailto:[EMAIL PROTECTED]
> Sent: 14 September 2004 17:32
> To: CF-Talk
> Subject: Quotes in XML Output
>
> Hi all,
> I'm pulling data from a db and writing to an XML file. The data from
the
> "de
Hi all,
I'm pulling data from a db and writing to an XML file. The data from the
"description" field sometimes has quotes ("") surrounding the text. Im
generating the XML, I've tried to use #Replace(qCal.description,""","
","ALL")# to remove the quotes, but an error gets thrown. How do I solve?
yes
ok heres what im doing
look at this guestbook http://www.ssql.net/Guestbook/Guestbook.htm
they sent me the code but dont speak english & told me what i can figure
as good luck, lol
heres some code, i put it on web to have smaller message
here is the flash .as file that needs to recieve the xml
could you be a little more descriptive?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 18, 2003 2:07 PM
To: CF-Talk
Subject: xml output
what would be the proper way to output this to xml? see below
seems like ther is a tag u got to add
this
what would be the proper way to output this to xml? see below
seems like ther is a tag u got to add
this is the code in flash that needs to load it off of my cfm page
var MsgList = new XML();
MsgList.ignoreWhite=true;
MsgList.>
SELECT
Hi George,
My understanding is that generating the initial report in xml is going to be the most
dynamic way to accomplish this. Which is a really vague statement, I know. :) So to
elaborate a bit on what exactly I mean by dynamic. If you only plan to ever generate
these sorts of reports from
We have an application that uses CF to query DB2 and Oracle and then massage
the answer sets into pretty sophisticated reports that we display in MSIE
(6.0). Some reports require landscape orientation for print.
Users want to be able to print landscape reports without having to set the
orientation
Kind of a newbie at this. Assuming that I have an XML doc built from a
cfquery, are there tutorials, examples, etc. out there which show how to
bring in XML data into ASP pages, PHP pages, and even HTML docs? Make
sense?
Thanks, Mark
Hi List,
Need some help...
I'm experimenting with XML query statements in SQL 2000 and have run into a
problem that I can't figure out under CF 4.51.
Here's the query:
select top 2 name, city, state, zip
from [restfile] Restaurant
where city='rye'
for xml auto,elements
When I run the query in
oops, there it is. never mind...
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:18 AM
To: CF-Talk
Subject: RE: XML output
i'm not sure about that...
i've been using the samples given by SOXML v1.6 XML Interface for Allaire
Not sure it is the problem, but I didn't see an xml header...
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:18 AM
To: CF-Talk
Subject: RE: XML output
i'm not sure about that...
i've been using the samples given by SOXML v1.
Then you may need to play with CFHEADER a bit then... But the "format" you
are looking for will only work in IE browsers anyway...
J
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 16:18
To: CF-Talk
Subject: RE: XML output
i'm
More info needed but try ...
save it as *.xml
get rid of the cfset and cfcontent
On Thu, 30 May 2002, Andres wrote:
> I'm trying to output an xml page on IE. This is the code i'm using:
>
>
> #xmlfeed#
>
> All i get is a blank page. I can see the xml generaged when i view the source of
>tha
ROTECTED]]
Sent: Thursday, May 30, 2002 10:55 AM
To: CF-Talk
Subject: RE: XML output
Yup - your browser will only do this if it has the extension ".xml"
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 15:56
To: CF-Talk
Subject: RE: XML output
Yup - your browser will only do this if it has the extension ".xml"
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 15:56
To: CF-Talk
Subject: RE: XML output
Thanks. It now displays on the browser, but as plain text. The browser
, May 30, 2002 10:43 AM
To: CF-Talk
Subject: RE: XML output
Try enclosing your XML variable in the tags
IE #xmlfeed#
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 9:46 AM
To: CF-Talk
Subject: XML output
I'm trying to output an xml page
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andres wrote:
|I'm trying to output an xml page on IE. This is the code i'm using:
|
|
|#xmlfeed#
|
|All i get is a blank page. I can see the xml generaged when i view the
source of that page.
|
|Do i need to set other types of content on the cf con
Try enclosing your XML variable in the tags
IE #xmlfeed#
-Original Message-
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 9:46 AM
To: CF-Talk
Subject: XML output
I'm trying to output an xml page on IE. This is the code i'm using:
#xmlfeed#
All
I'm trying to output an xml page on IE. This is the code i'm using:
#xmlfeed#
All i get is a blank page. I can see the xml generaged when i view the source of that
page.
Do i need to set other types of content on the cf content tag?
Thanks for all input!
Andres
28 matches
Mail list logo