Re: I'm stupid (was: Re: Newbie help: "empty" elements)

Subject: Re: I'm stupid (was: Re: Newbie help: "empty" elements)
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: 11 Nov 2000 17:24:20 -0800
/ "Len Budney" <lbudney-lists-dsssl@xxxxxx> was heard to say:
| That's still something I wonder; how can I identify elements which contain
| data which is only whitespace. Any suggestions?

If you know that it contains only #PCDATA, you can test to see if
(data node) is just whitespace. Well, you'll have to loop over every
character, I suppose. There are probably utility functions in the
DocBook stylesheets to do some of this.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@xxxxxxxxxx> | We dance around in a ring and suppose,
http://nwalsh.com/            | but the Secret sits in the middle and
                              | knows.--Robert Frost


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


Current Thread