Convert node to String?

Subject: Convert node to String?
From: David Keegan <dksw@xxxxxxxx>
Date: Sun, 20 Jun 1999 20:46:37 +0100
Hi DSSSL Experts,

How in DSSSL can I create a string from PCDATA contained in an
element? I want use it as an attribute value when generating a
HTML link as in the following:

Document source:
...
<email>dksw@xxxxxxxx</email>
...

Stylesheet code:
...
   (make element gi: "A"
    attributes: (list
    (list "HREF" (string-append "mailto:"; ???)))
...

I want to extract the string "dksw@xxxxxxxx" from the <email> element
and use it as the second argument to string-append above. I know how
to find the node corresponding to the element, but how do I extract
the PCDATA?

Thanks in advance for any suggestions!

Regards,
David Keegan.
-- 
[DK Software Ltd Engineers and Consultants dksw@xxxxxxxx]
[Mobile: 353 86 8376577 Fax: 353 1 9376577 Phone: 353 1 2988743]
[56 Roebuck Downs Dublin 14 IRELAND]


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread