Data attributes

Subject: Data attributes
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Fri, 08 May 1998 09:55:13 -0400
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"[
<!NOTATION foo SYSTEM>
<!ATTLIST #NOTATION foo BAR CDATA "DEFAULT">
<!ENTITY foo SYSTEM "foo.sgm" NDATA foo [BAR="5"]>
]>
<style-sheet>

(root (literal (entity-attribute-string "foo" "BAR" (current-node))))
</style-sheet>

If I execute this

jade -t sgml -d test.dsl test.dsl

I would expect to have "5" be printed out. (the stylesheet and document
are combined) But I do not. Am I doing
something wrong? Thanks for any information. Data attributes are really
the right way to handle this particular problem and I would like to use
them.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

Can we afford to feed that army, 
 while so many children are naked and hungry?
Can we afford to remain passive, 
 while that soldier-army is growing so massive?
  - "Gabby" Barbadian Calpysonian in "Boots"


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


Current Thread
  • Data attributes
    • Paul Prescod - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA03907Fri, 8 May 1998 10:01:28 -0400 (EDT) <=