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

Subject: Re: [xsl] white space in xml should not be interpreted as text nodes
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Thu, 11 Mar 2004 11:38:00 +0200


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@xxxxxxxxxxx tel:+302103240940 http://forte.netsmart.gr/foaf/manos_foaf.rdf



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


Current Thread