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 side-effect 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: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Parent Node..., Vu Nguyen | Thread | Re: Parent Node..., Paul Prescod |
Parent Node..., Vu Nguyen | Date | Re: Parent Node..., Paul Prescod |
Month |