xsl-list
[Top] [All Lists]

Re: white space in xml should not be interpreted as text nodes

2004-03-11 02:38:00


Markus Hanel wrote:
I hope this is the right mailinglist for this kind of topic.

It's not ;-), you should try a python/xml list.


Here is the problem:
[...] I cannot know in
before how many of these "text nodes" are in between the real data nodes

You should read on how whitespace is handled/exposed by XML parsers and is controlled in your API/setup. You may normalize element text nodes to
one, control whitespace with xml:space and many other stuff...

hth,

--
Manos Batsis

    _  __    __                    __
   / |/ /__ / /____ __ _ ___ _____/ /_
  /    / -_) __(_-</  ' Y _ `/ __/ __/
 /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/


http://www.netsmart.gr
mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>