changeset 98:59677e4e0840

XML mode
author abukhman
date Thu, 29 Apr 2010 16:05:16 +0200
parents 2b8fd19432fb
children 4738a696d265
files zpt/page_main_xml.zpt
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/page_main_xml.zpt	Thu Apr 29 16:05:16 2010 +0200
@@ -0,0 +1,3 @@
+<tal:block tal:define="pageinfo python:options.get('pageinfo',None); docinfo python:options.get('docinfo',None)">
+  <div tal:content="structure python:here.getTextPage(mode='xml',pn=pageinfo['current'],docinfo=docinfo)"></div>
+</tal:block>
\ No newline at end of file