W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2002

Entity declarations in XML

From: Seema <2kseema@sun20.datamatics.com>
Date: Fri, 18 Jan 2002 09:25:21 +0530
Message-ID: <001001c19fd3$f3ce6470$524111cf@datamatics.com>
To: <xmlschema-dev@w3.org>
Hi all,

How do you include ENTITY declarations in  an XML schema in the sam way as
you would include it in a DTD like :
Could anybody give me the corresponding representation of this in a schema ?
Infact I am facing a problem where I need to insert data in some XML tags
wherein the data may contain "&" symbols.
When they are inserted as is without being replaced by &amp; it gives me a
validation error.
I beleive making an entity declaration could be a workaround.
Could somebody throw light on this ???

Thanks in advance
Received on Thursday, 17 January 2002 22:58:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC