• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF function to parse/escape bad characters in xml for rss feed

Participant ,
Feb 20, 2009 Feb 20, 2009

Copy link to clipboard

Copied

hi guys

im creating my first rss feed and i believe one needs to remove/escape certain characters from the xml

is that right?

im pressuming theres a cffunction for this handful of promising sounding ones i found all caused errors which i didnt understand so i thought i'd ask for a pointer in the right direction

sorry if this is silly question

TIA
TOPICS
Advanced techniques

Views

383

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 20, 2009 Feb 20, 2009

Copy link to clipboard

Copied

> im pressuming theres a cffunction for this handful of promising sounding ones
> i found all caused errors which i didnt understand so i thought i'd ask for a
> pointer in the right direction

here is a pointer in the right direction:
http://livedocs.adobe.com/coldfusion/8/functions-pt0_02.html

Note the bottom category.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 21, 2009 Feb 21, 2009

Copy link to clipboard

Copied

xmlFormat() to escape characters in XML or HTMLEditFormat() for same in HTML.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 01, 2009 Mar 01, 2009

Copy link to clipboard

Copied

LATEST
thanks to everyone for their replies

there is also this <something><![CDATA[#xmlformat(rs_data.var1)#]]></something>

not strictly cf but if youre setting up a rss feed you might need it so i post it here in case it helps you


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation