Re: node->string

Subject: Re: node->string
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Fri, 27 Nov 1998 21:29:24 -0500
| I guess this is a really newbie question, sorry for that, but I
| couldn't figure it out even after looking through the archives.  I
| need to get the contents of a tag as a string.  I've noticed the

You probably want the (data) function.  E.g. (data (current-node))

| following construct in html/dbnavig.dsl:
|    (> (string-length (node-property 'system-data 
| 				  (node-list-first nl))) 
|       (string-length piname))

The 'system-data property of a PI node returns the PI.

Norman Walsh <ndw@xxxxxxxxxx>      | Anything more than the truth would                 | be too much.--Robert Frost

 DSSSList info and archive:

Current Thread