[Zope] XMLDocument mess

Serge Stinckwich Serge.Stinckwich@info.unicaen.fr
Wed, 12 Apr 2000 14:22:50 +0200


Hi all,

i'm a bit confused with the behavior of the XMLDocument product.

I have a very simple XML Document : test

<?xml version="1.0"?>
<doc>
<p> bla bla ...</p>
<p> bla bla ...</p>
</doc>

I've got also a DTML method view_test :

<dtml-var standard_html_header>
<h2><dtml-var title_or_id> <dtml-var document_title></h2>

<dtml-with "test[0]">

<dtml-in "getChildNodes()">
<p><dtml-var absolute_url></p>
</dtml-in>

</dtml-with>
<dtml-var standard_html_footer>

I launch the view method and i expect to have 2 URLs, i've got 5 with 3 non-existent nodes ...

I use the last version of XMLDocument.

-- 
Serge Stinckwich                                   -< )  Debian GNU/Linux 2.2 (frozen)
CNRS UPRESA 6072>GREYC>I3>SMILE                     /~\  http://debian.org/           
Université de Caen>IUT de Caen>Campus 3>Dept Info  (/  | http://zope.org/             
http://www.iutc3.unicaen.fr/~stincs                _|_/  http://zschool.org/