Re: [xml] Entities



To use "built-in" entities, try '

Otherwise, to use ‘ you would have to define it in a DTD or internal subset.

.micah

(See what I'm doing with libxml2/Python at http://xformsinstitute.com)

Colin Fox wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, all.

I'm writing something to escape values garnered from a database, and I
need entities for ' and ".

According to the standards I've been able to find, the appropriate
entities are ‘ and ".

Unfortunately, " works but ‘ comes up as undefined. Is that a
bug in the parser libs (missing entity declarations?) or do I have to
include something to get the standard entities?

Thanks,
~  cf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAWNpfoaQ1/feGlJoRAsYpAJ9rxh7Ykm22JoNSk/IyixGlJws8qACeOWaq
sGacBXB5Esvqrl6t6oNrBsM=
=u2K9
-----END PGP SIGNATURE-----
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]