Subject: RE: For XML documents can Jade process without DTD? From: "Didier PH Martin" <martind@xxxxxxxxxxxxx> Date: Sat, 16 Jan 1999 09:27:03 -0500 |
Hi Ken Thanx a lot, it works. Didier PH Martin mailto:martind@xxxxxxxxxxxxx http://www.netfolder.com -----Original Message----- From: owner-dssslist@xxxxxxxxxxxxxxxx [mailto:owner-dssslist@xxxxxxxxxxxxxxxx]On Behalf Of G. Ken Holman Sent: Friday, January 15, 1999 9:57 PM To: DSSSL mailing list Subject: Re: For XML documents can Jade process without DTD? 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 DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: For XML documents can Jade proc, G. Ken Holman | Thread | Re: For XML documents can Jade proc, Jany Quintard |
Re: For XML documents can Jade proc, G. Ken Holman | Date | Problems with entitys and Jade, Joaquin Bravo |
Month |