Subject: Re: Where did all the spaces come from? From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Mon, 15 Jun 1998 10:46:37 -0500 |
At 01:37 PM 6/12/98 -0400, Graydon Hoare wrote: >On Fri, 12 Jun 1998, Justin Jay Sako wrote: > >> Can anyone tell me why I receive all these spaces in my output (and how to get rid of them)? (This is just a test file I threw together) > >Sure. Look at your input file. You're indenting your XML. The indentation >spacing is whitespace too. Jade is just preserving your whitespace for >you. It also makes a difference if you have explicit element type declarations. If you have explicit declarations that don't allow #PCDATA where the white space occurs, you won't get the spaces. However, without a DTD, the parser has to assume that all white space is data and thus passes it through. Cheers, E. -- <Address HyTime=bibloc> W. Eliot Kimber, Senior Consulting SGML Engineer ISOGEN International Corp. 2200 N. Lamar St., Suite 230, Dallas, TX 95202. 214.953.0004 www.isogen.com </Address> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Where did all the spaces come f, Graydon Hoare | Thread | A Petition To Netscape and Microsof, Dan Hable |
A Petition To Netscape and Microsof, Dan Hable | Date | Re: ASCII Text output using Jade, W. Eliot Kimber |
Month |