Mulberry home page

DSSSList Archive

Mulberry Home Page
Previous by Date
Next by Date
Previous by Thread
Next by Thread
Index by Thread
Index by Date
Index by Subject
Index by Author

Re: Processing external data entities

From: "W. Eliot Kimber" <>
Date: Thu, 27 Mar 1997 08:51:31 -0900
At 06:55 PM 3/26/97 -0500, Tony Graham wrote:
>David Megginson writes:
> > but, as far as I can tell, there is no way to get at the entity's
> > contents in the following:
> > 
> >   <listing>
> >    &code;
> >   </listing>

The entity should be available as an extdata node in the content property
of the Listing element.  Here is the relevant section from the SGML
property set (taken from the HyTime TC draft):

<classdef rcsnm=element conprop=content clause="73000">

[... propdefs omitted for clarity]

<propdef subnode rcsnm=content datatype=nodelist
ac="datachar sdata element pelement extdata subdoc pi msignch ignrs
    ignre repos usemap uselink entstart entend ssep comdcl msstart
    msend ignmrkup"

Here are the properties of the extdata node:

<classdef rcsnm=extdata appnm="external data"
fullnm="reference to external data" clause="a5500">
The result of referencing an external data entity.

<propdef rcsnm=entname appnm="entity name" datatype=string
strnorm=entity clause="a5101">

<propdef irefnode rcsnm=entity datatype=node ac=entity clause="94410">

Thus, from the extdata node you can get the entname and from there the
properties of the entity, just a you would for an ENTITY attribute reference.