On Mon, 9 Jul 2001, Roger L. Costello wrote:

> Hello Maik,
> 
> Since an XML Schema is just an XML document, you can use entities in a
> Schema the same fashion that you would use them in a plain XML
> document.  For example:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE xsd:schema [ 
> <!ENTITY str "xsd:string">
> ]>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>             targetNamespace="http://www.test.org";
>             xmlns="http://www.test.org";
>             elementFormDefault="qualified">

I don't think this is what Maik is after.  Is it possible to declare
entities within a schema (instead of in a DOCTYPE) for use in the instance
document?  I believe the answer to this is no.  Entities are a DTD
specific concept.

Ian

-- 
Ian Roberts, Software Engineer        DecisionSoft Ltd.
Telephone: +44-1865-203192            http://www.decisionsoft.com




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

Reply via email to