i'm not storing it as XML. I'm trying to get it out of an XML file and store
it into a db field as just plain old HTML.

Trying to get through a Regex for the tags, and so far no lucky.

On Mon, Jan 26, 2009 at 1:53 PM, Ian Skinner <[email protected]> wrote:

> Erika L. Walker wrote:
> > Ahhhhh. duh. OK ... Need to store it as proper HTML then the browser will
> > parse it on displaying.
> > Racked my head on that one. Thanks again!
>
> That works great if your HTML is actually XHTML!  When you 'store' it as
> HTML in the XML document the XML parser is going to see it as more XML
> and expect it to be well formed.  If the HTML is XHTML compliant then it
> will be well formed.  But if the HTML is old and|or sloppy, as it often
> is, then the XML parser is going to choke when it comes across an
> unclosed <p> tag or a mismatched <strong><p> </strong></p> or anything
> of the like.
>
> Just trying to save you another head bump.
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:286723
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to