Subject: Re: How can I take the ID for the current-node? From: Reyes Garcia Rosado <reyes.garcia@xxxxxxxxxx> Date: Wed, 29 Sep 1999 17:24:38 +0200 |
>Maybe. I am not sure that you want the ID (I mean the value of attribute >of type ID), but the gi (general identifier). >Anyway, you can get both. The specification says : > ><spec> >10.2.4.1. Navigation > >(ancestor string osnl) >.../... >(gi osnl) > >Returns the value of the gi property of the node contained in osnl or #f >if osnl is empty or if osnl has >no gi property or a null gi property. >.../... >(id osnl) > >Returns the value of the id property of the node contained in osnl or #f >if osnl is empty or if osnl has no id property or a null id property. ></spec> > >Could this help you ? >Jany. > Oh!! Thanks, your are good, I needed the gi and not the id. I have make: (element TAG (make element gi: (string-append "NEW-" (gi (current-node))) ) ) and that works. Thanks for all, Reyes DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How can I take the ID for the c, Jany Quintard | Thread | Jade and gcc 2.95, Jochen Schmitt |
Jade and gcc 2.95, Jochen Schmitt | Date | Re: DOCBOOK: Producing HTML from Do, Norman Walsh |
Month |