Subject: Re: Another hopefully simple question: root attributes From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Wed, 27 Oct 1999 10:30:45 -0500 |
Quoting Wroth, Mark <MARK.WROTH@xxxxxxxxxxx>: > I need a construct which returns as a string the value of a known attribute > of the root element of a document (regardless of the GI of the document > element). I think my problem is in identifying the root element, but ... > > Say the attribute I need is "id" (which it is :-). As I read the spec, > > (attribute-string "id" root) > > would do what I want if "root" was an osnl returning the root element of the > current document. > (attribute-string "id" (node-property 'document-element (node-property 'grove-root (current-node)))) -Brandon :) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Another hopefully simple question: , Wroth, Mark | Thread | Re: Another hopefully simple questi, Norman Gray |
Another hopefully simple question: , Wroth, Mark | Date | Re: Another hopefully simple questi, Norman Gray |
Month |