Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inline CSS with XML

Status
Not open for further replies.

dnayana

Programmer
Nov 14, 2002
53
US
I'm new to XML/RSS and have taken over a project from a former co-worker. I'm been trying to research this issue for a couple of days, but have yet to find a solution.

Our customer is using an ActiveEdit control within their CF application to input information within their CMS. Unfortunately, all content including unnecessary tags (i.e. MsoNormal ...) is captured and stored within the event_abstract field in the db.

Example:

Code:
<UL style="MARGIN-TOP: 0in" type=disc>  <LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo7; tab-stops: list .5in"><FONT size=3><FONT face=Arial>Coalition aircraft flew 52 close air support and armed reconnaissance sorties Dec. 1 for OIF.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT>

An RSS feed was created. Within the description tag, the content (i.e. event_abstract) is stored.


Code:
<description> <![CDATA[#event_abstract#]]> 
</description>

The customer would like the content to displayed in a smaller font size. Is it possible to create an inline style within the <description> tag to display the font in a specified size?

Any assistance that anyone can provide is greatly appreciated.

Thank you in advance.


Nicole [ponytails2]

P.S. BUSHhtr, I see you were trying to do the same thing and you indicated you figured it out; would you mind letting me know how you were able to resolve your problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top