Subject: Re: element content From: "W. Eliot Kimber" <eliot@xxxxxxxxxxxxxx> Date: Mon, 26 Oct 1998 17:21:43 -0600 |
At 01:58 PM 10/26/98 -0500, Norman Walsh wrote: >| You have received several useful answers, but I have a question, for >| you or for anybody else... >| >| How do you decide between using (data (current-node)) and using >| (process-children) to get the character data? > >I generally try to avoid (data) unless I really need the content >in a string (to stuff it in an attribute in the SGML back end, >to print it in an error message, to shift it to upper/lower >case, etc.). > >Since you lose all internal markup with (data), >(process-children) usually seems like a better choice... And you can always use a separate mode if you want to do transforms on the character data itself. Cheers, E. -- <Address HyTime=bibloc> W. Eliot Kimber, Senior Consulting SGML Engineer ISOGEN International Corp. 2200 N. Lamar St., Suite 230, Dallas, TX 75202. 214.953.0004 www.isogen.com </Address> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: element content, Norman Walsh | Thread | jadetex test version 2.3, Sebastian Rahtz |
Re: element content, Norman Walsh | Date | Re: SGML Where are you, DSSSList Owner |
Month |