Re: [Zope] How to use ParsedXML

2005-05-26 Thread Chris Withers

Jason Leach wrote:

hi,

If I have a ParsedXML document with the following:



  
To be or not to be?
That is the question.
   
   
The question of life
the universe and everything?
42
   






Try:
tal:content="here/myxmldoc/faq/0/entry/0/question/nodeValue/question">


Or some such... I remember reading docs for this so you'll have to have 
a look or resort to DOM-based traversal like I did ;-)


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] How to use ParsedXML

2005-05-23 Thread Jason Leach
hi,

If I have a ParsedXML document with the following:

  To be or not to be?That is the question.
  The question of lifethe universe and everything?42   

>From a page template, how to I access the questions and answers? So I can start displaying the XML document content.
I tried various forms of:



I'd also like to use it through acquisition if possible. Make a method that views and entry and then call in on my document?


But no luck.

Thanks,
Jason.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )