Re: Parent Node...

Subject: Re: Parent Node...
From: Vivek Agrawala <vivek@xxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 1997 17:19:47 -0400
Vu Nguyen wrote:
>   Hi,
>      I have a question on how to access the parent's attributes of a
> certain element when doing the SGML translating?? I want ..some how.. save
> the attributes of a element and then later when I reach its children, I
> could perform some test on it... I was struggled to find this out.. please
> help!!

In general, when using DSSSL, you avoid 'storing' values. DSSSL is
free, so 'storing' variables is not possible. You can use user-defined
characterstics in some situations.

However, in this particular case, you can just navigate to the parent
when you need to access its attributes.

-- Vivek Agrawala, Ph.D.
Siemens Corporate Research, Inc.	email: vivek@xxxxxxxxxxxxxxx

 DSSSList info and archive:

Current Thread
  • Parent Node...
    • Vu Nguyen - Mon, 11 Aug 1997 17:06:45 -0400 (EDT)
      • Vivek Agrawala - Mon, 11 Aug 1997 17:19:02 -0400 (EDT) <=
      • Paul Prescod - Mon, 11 Aug 1997 20:34:24 -0400 (EDT)