Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Function to escape xml chars?
php newbie wrote:
> For a website, I generate XML files dynamically from an Oracle
> database. After retrieveing the data, I need to put them in the XML
> file. But if the selected columns contain XML special characters,
> this doesn't work.
>
> Is there a function in Oracle that would escape XML/HTML special
> characters?
HTF.escape_sc (for Special Characters)
The HTF.escape_url still is not correct, IMHO
If you prefer procedures instead of functions, take a look at HTP
-- Regards, Frank van BortelReceived on Tue Feb 03 2004 - 15:22:54 CST