Re: entities in XML/XSL

Subject: Re: entities in XML/XSL
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Fri, 26 Feb 1999 11:06:54 -0500 (EST)
[Westerberg, Rolf]
> I don't know of any pre-defined entities in XML/XSL. Could you
> please tell me where they are defined ?

They're defined in the XML specification: &amp;, &apos;, &gt;, &lt;,
&quot;.

> Could I not have a SGML/XML catalog or entity file refered to with
> environment varaiable or an option to the application ?  The same
> way as the SGML_CATALOG_FILES environment varaiable to sp.

You can have a catalog if you want; that's outside of the scope of XML
per se.

But any entity you want to use (other than the five pre-defined ones)
must be declared within the document, and all external entity
declarations must have system identifiers.  They can have public
identifiers *in addition*, and a processor may use the public
identifier instead of the system identifier, but you must still give a
system identifier.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread