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