|
Subject: Re: For XML documents can Jade process without DTD? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 15 Jan 1999 21:57:15 -0500 |
At 99/01/15 11:21 -0500, Didier PH Martin wrote:
>I tried to process a XML document without a DTD, but jade refused to process
>it. Is it possible to process a XML document without a DTD? if yes how?
Invoke JADE with the file "xml.dcl" (found in the JADE directory) on the
command line before your XML file, and the warnings set to "no-valid":
jade {options} -wno-valid xml.dcl myfile.xml
Full example below ... I hope this helps.
.......... Ken
T:\test>type test.sgm
<?xml version="1.0"?>
<greeting>hello world!</greeting>
T:\test>type test.dsl
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">
(default ;handle all elements not explicitly handled
(process-children))
; end of file
T:\test>jade -wno-valid -c p:\jade\jadecurr\catalog
p:\jade\jadecurr\xml.dcl test.sgm
T:\test>type test.fot
<?xml version="1.0"?>
<fot>
<a name="0"/>
<text>hello world!</text>
</fot>
T:\test>
--
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/d/
Box 266, V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0 F: +1(613)489-0995
Training: http://www.CraneSoftwrights.com/d/schedule.htm
Resources: http://www.CraneSoftwrights.com/d/resources.htm
Shareware: http://www.CraneSoftwrights.com/d/shareware.htm
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| For XML documents can Jade process , Didier PH Martin | Thread | RE: For XML documents can Jade proc, Didier PH Martin |
| Jade environment, Didier PH Martin | Date | RE: For XML documents can Jade proc, Didier PH Martin |
| Month |