Subject: Re: (dsssl) Turning a string into a sequence of character nodes From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Fri, 10 May 2002 08:47:03 -0500 |
Quoting Norman Walsh <ndw@xxxxxxxxxx>: > Can it be done in Jade? > Perhaps something like the following (untested, of course): (define (string->nodes s) (let ((doc (string-append "<literal><!DOCTYPE doc [ <!ELEMENT " "doc - - (#PCDATA)> ]><doc>" s "</doc>"))) (children (node-property 'docelem (sgml-parse doc))))) -Brandon :) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: (dsssl) Turning a string into a, Dave Pawson | Thread | Re: (dsssl) Turning a string into a, Norman Walsh |
Re: (dsssl) Turning a string into a, Dave Pawson | Date | (dsssl) weirdness with caracter set, Holger Klawitter |
Month |