Subject: Re: normalizing input to jade From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx> Date: Thu, 23 Jul 1998 19:38:26 -0400 (EDT) |
At 23 Jul 1998 16:45 -0500, Fred Yankowski wrote: > Before processing a XML document with jade, I want to normalize it to > add default values (as defined in the DTD) for optional attributes > that weren't specified in the document. I thought 'spam' would do > this for me, but it and jade don't get along. Here's the command I > tried: > > spam -m attspec -p /jade/pubtext/xml.dcl foo.xml | > jade -t sgml -d foo.dsl -c /jade/dsssl/catalog > foo.html ... > This seems like a bug in spam. Or is the xml.dcl file wrong to use > the hyphens? Is there some way to work around this problem? > > BTW, "spam -v" reports that it's version "1.3.1". It's up to James Clark to say if you've found a bug in spam, but you shouldn't need to run spam anyway. When Jade parses the input document, it also reads and parses the DTD that your document references in its prolog, and the attribute defaults will be available to Jade and to your stylesheet. Regards, Tony Graham ======================================================================= Tony Graham Mulberry Technologies, Inc. Phone: 301-315-9632 17 West Jefferson Street, Suite 207 Fax: 301-315-8285 Rockville, MD USA 20850 email: tgraham@xxxxxxxxxxxxxxxx ======================================================================= DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
normalizing input to jade, Fred Yankowski | Thread | Hyphenation, Matthias Clasen |
Re: jade SGML output, W. Eliot Kimber | Date | Re: call of non-function object, Toby Speight |
Month |