How to Process XML with Jade?

Subject: How to Process XML with Jade?
From: "Jack Fitzpatrick" <jfitzpatrick@xxxxxxxxxx>
Date: Tue, 16 Jun 1998 18:40:17 -0400
My SGML documents (actually "gray market" HTML) process just fine using Jade
with the MIF backend.  Thanks to all who made their fine work freely
available to us newbies.  However, now I'm attempting to achieve
XML-compliance in order to take advantage of "well-formed" parsing, which I
assume will be faster, cheaper.   I laboriously edited my DTD to remove all
of the tag minimization, inclusions, exclusions, etc., that were inherited
from the HTML DTD, added the backslashes on my empty elements, etc., and can
now insert the XML declaration (xml.dcl) and parse myfile.xml with:

nsgmls -wxml xml.dcl myfile.xml

I get a warning "SGML declaration was not implied", and I'm not sure what
that means, but it works fine otherwise.  But when I then apply my
stylesheet and run Jade with:

jade -wxml -tmif -dmyfile.dsl xml.dcl myfile.xml

I get a storm of complaints on my screen which seem to indicate that my
DSSSL stylesheet  is _not_ XML-compliant.  OK, so what do I do now?  Seems
I'm missing something fundamental, and Mr. Clark, in his wisdom, apparently
leaves this as an exercise for the student.

Jack Fitzpatrick
ADP/Autosource
Milwaukie, OR
(503) 786-3114


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


Current Thread
  • How to Process XML with Jade?
    • Jack Fitzpatrick - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id SAA10102Tue, 16 Jun 1998 18:54:57 -0400 (EDT) <=
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA09839Wed, 17 Jun 1998 14:47:38 -0400 (EDT)