[Israel.pm] escaping the values of XML attributes

Shlomi Fish shlomif at iglu.org.il
Thu Sep 23 01:48:17 PDT 2004


On Thu, 23 Sep 2004 07:13 am, Shlomo Yona wrote:
> On Wed, 22 Sep 2004, semuel wrote:
> > Hello There.
> >
> > DBI's function 'quote' guerentis to quote every unsusal charecter from
> > your string.
> > I just don't know if there is an un-quote function.
> > Chack it out.
>
> DBI escapes XML-problematic characters to the apropriate
> entities?

No, it doesn't. It escapes single-quotes (') and possibly backslashes (\). 
Things that are problematic in SQL.

Regards,

	Shlomi Fish
-- 

---------------------------------------------------------------------
Shlomi Fish      shlomif at iglu.org.il
Homepage:        http://shlomif.il.eu.org/

Knuth is not God! It took him two days to build the Roman Empire.



More information about the Perl mailing list