On Mon, 2004-08-16 at 23:03, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I am new to XML and to the group. I am trying to include special 
> characters
> into an XML which is to be validated (using xalan) against a schema. 
> I know how its done for an XML file using a DTD for validation but how
> do i do it for an XML being validated against a schema.

You do it in exactly the same way.  By which I
mean: with a DTD.  The XML Schema validation operates
against the XML infoset, after entities and
character references are expanded.  Use a DTD at
the 'front' end of processing (so to speak) to 
handle entities, and a schema at the 'back' for
constraining the element and attribute structure.

I hope this helps.

-C. M. Sperberg-McQueen
 World Wide Web Consortium
 MIT Computer Science and AI Lab



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to