My master template has a line that gets replaced by stuff in slave
templates....

   <div id="content" py:replace="[item.text]+item[:]"> <p>Body text
goes here.</p>  </div>

I'm told item.text is the first 'text node' in slave template...what is
a 'text node' ???

Also, I'm told 'item' corresponds to *body* element in slave template
but I'm confused
why it would not be correspond to **<div id="content">** element in
SLAVE template instead.

Also, if item[:] get ALL nodes then won't "[item.text]+item[:]" have
the 'text node' TWICE?

thanks!

Chris


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to