# HG changeset patch # User casties # Date 1329407477 -3600 # Node ID 454a42f4c369cdff8831133ef91c1347feec5045 # Parent 030251fe9dbc3c5a37c04726a44a62d5c4e7066d viewer_xml works now. diff -r 030251fe9dbc -r 454a42f4c369 zpt/viewer_xml.zpt --- a/zpt/viewer_xml.zpt Thu Feb 16 14:30:01 2012 +0100 +++ b/zpt/viewer_xml.zpt Thu Feb 16 16:51:17 2012 +0100 @@ -2,7 +2,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> @@ -28,7 +28,7 @@ tal:define="docpath docinfo/textURLPath; pn pageinfo/pn; flowLtr python:pageinfo.get('pageFlow','ltr')!='rtl'; - textPage python:here.getTextPage(mode=viewType, pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';"> + textPage python:here.getTextPage(mode='xml', pn=pn, docinfo=docinfo, pageinfo=pageinfo) or '[no text here]';">
@@ -66,20 +66,13 @@

Text display

Text
-    Dictionary
-
-    Places
-
XML
+ tal:attributes="name param; value python:params[param]" /> + Text
+ XML
@@ -96,17 +89,8 @@ - -
-

Dictionary view

-
- Tab
Window
-
-
- - -
+

Text normalization

@@ -125,29 +109,6 @@
- -
- - Places -
(Link to extern:)
- Page - - - -
- Book - - - -
-
-
-