×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
i've read the page in the information center, but i thought that there would be
just a simple option like "ignore-whitespace=true".
i think i'll just use a regular expression: if the string contains only
whitespaces then skip it.
thanx for your answer
mihael
-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces+mihael.knezevic=rossmann.de@xxxxxxxxxxxx
[
mailto:rpg400-l-bounces+mihael.knezevic=rossmann.de@xxxxxxxxxxxx] Im Auftrag
von Barbara Morris
Gesendet: Mittwoch, 11. April 2007 19:48
An: rpg400-l@xxxxxxxxxxxx
Betreff: Re: XML-SAX and ignore whitespace
Knezevic, Mihael wrote:
i'm currently playing around with xml-sax. i got a xml file and it is
read with xml-sax with no errors. but for the whitespaces like newlines
and tabs are included the handler procedure is called. with xml-into i
can say "trim=all" but xml-sax won't accept that. is there some other
keyword or workaround? i just don't want to process every newline or
tab.
There's a sample procedure in the XML-SAX documentation that trims
whitespace. See figure 392.
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books_web/c0925086782.htm#Header_947
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.