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
  (make simple-page-sequence
   (make paragraph
                    (node-property "elements" (current-node))))))))

But it always prints out 0. Any ideas?

 Paul Prescod

 DSSSList info and archive:

Current Thread