Subject: node-property From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx> Date: Mon, 28 Jul 1997 12:54:23 -0400 |
I wanted to explore node-property a little, and had some good luck with it, and some bad luck. I was successful in getting at the entities in a document, but not the elements. It looks to me like this program should print out the number of elements declared in an SGML document's DTD (is that right?): <!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"> (root (make simple-page-sequence (make paragraph (literal (number->string (node-list-length (node-property "elements" (current-node)))))))) But it always prints out 0. Any ideas? Paul Prescod DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
DocBook modular style sheet version, Norman Walsh | Thread | Re: node-property, Richard Light |
Re: Query support, Paul Prescod | Date | Re: Query support, W. Eliot Kimber |
Month |