Thanks everyone! I used the suggestion of replacing the first in each CF
tag with ^ then doing a replace at the end. It worked just fine. I did try
using the #Sep# variable but got an error saying I couldn't have # in XML
tags.
Appreciate the help tremendously!
The error with the 'sep' variables is almost certainly because you
didn't have your CFXML tag inside a CFOUTPUT tag, so the hashes were
being included in the XML directly, rather than being interpreted by
CF and converted to nothing so your XML remained valid. That was my
bad for not putting the
The error with the 'sep' variables is almost certainly because you
didn't have your CFXML tag inside a CFOUTPUT tag, so the hashes were
being included in the XML directly, rather than being interpreted by
CF and converted to nothing so your XML remained valid.
Duh on my part ... Very good
I'm fairly new to using CF with XML and have a potential problem I need some
help with.
I'm using cfxml to create an XML document using elements given to me by a
third party.
The problem is a few of these elements start with CF (i.e.,
CFDCurrentJoinDate01/01/2005/CFDCurrentJoinDate or
You add a separator in there so that the generated content is
unchanged, but the raw code doesn't contain the extra tags:
cfset sep = /
cfxml ...
#sep#cftagname ... /
/cfxml
Or you could use a different delimiter, and replace it:
cfxml ...
^cftagname ... /
/cfxml
cfset xml = replace(xml, ^, ,
I wish I could help you.
This seems weird to me, as CF_ is reserved, but you *should* be able to
use CF as a start to some XML elements.
Any ideas?
--
Alex
Shawna Hampton wrote:
I'm fairly new to using CF with XML and have a potential problem I need some
help with.
I'm using cfxml to
On Wed, 09 Mar 2005 18:38:22 -0500, Alex Sherwood [EMAIL PROTECTED] wrote:
This seems weird to me, as CF_ is reserved, but you *should* be able to
use CF as a start to some XML elements.
ColdFusion actually reserves all tags that begin cf for future use,
not just cf_ and if you create any CFML
.
Not the best way to do things but if it works!
Ade
-Original Message-
From: Alex Sherwood [mailto:[EMAIL PROTECTED]
Sent: 09 March 2005 23:38
To: CF-Talk
Subject: Re: XML elements start with CF -- throwing an error
I wish I could help you.
This seems weird to me, as CF_ is reserved
8 matches
Mail list logo