Re: XML elements start with CF -- throwing an error

2005-03-10 Thread Shawna Hampton
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!

Re: XML elements start with CF -- throwing an error

2005-03-10 Thread Barney Boisvert
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

Re: XML elements start with CF -- throwing an error

2005-03-10 Thread Shawna Hampton
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

XML elements start with CF -- throwing an error

2005-03-09 Thread Shawna Hampton
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

Re: XML elements start with CF -- throwing an error

2005-03-09 Thread Barney Boisvert
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, ^, ,

Re: XML elements start with CF -- throwing an error

2005-03-09 Thread Alex Sherwood
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

Re: XML elements start with CF -- throwing an error

2005-03-09 Thread Sean Corfield
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

RE: XML elements start with CF -- throwing an error

2005-03-09 Thread Adrian Lynch
. 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