You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "K. Ari Krupnikov" <ar...@cogsci.ed.ac.uk> on 2001/05/31 20:00:01 UTC

Re: Ignorable Whitespace

James Richardson wrote:
> 
> Yeah, I know it has ( fairly big ) limitations, but I thought I should share what I found... I think it will do
> for my purposes right now... Its definately going to be ASCII only.
> 
> Hmmm.. so If I have no DTD, how do you recommend that I would set up the parser to ignore the characters?

Since you are using perl to filter your input anyway, you can remove all
newlines and tabs in the same pipe. This will of course remove all
newlines, even those that are significant to you.

To specify which whitespace is and which isn't significant, you're best
to write a DTD.

Ari.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org