[Zope] Extracting Text from both parent/child XMLDocument Objects

Techlists techlists@sltrib.com
Thu, 2 Mar 2000 13:16:14 -0700


I am trying to use XMLDocument to print text in html that has the following XML
structure:

<copyright>Copyright <copyrite.year>2000</copyrite.year>, by
<copyrite.holder>MyCompany.com</copyrite.holder>, All rights
reserved.</copyright>

I want it to print in html:

	<p>Copyright, 2000, <i>MyCompany.com</i>, All rights reserved.

Any thoughts on the dtml needed to do this kind of DOM traversal that included
the text (in linear order) of both parent and child tags?

Thanks,
Sean

-- 
--Sean D. Upton - Product Development Coordinator
--Tribune Solutions - Developers of NewsView Solutions Products
--8th Floor, 143 S. Main Street  Salt Lake City, Utah 84111
--(801) 257-8816     ***     sean@sltrib.com