Changeset 3383:f60db4b1e28b in livinglogic.python.xist

Show
Ignore:
Timestamp:
06/16/08 23:23:43 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Wrap content of XML files in root element, so expat works. Change encoding to UTF-8.

Location:
docs
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • docs/URL_Howto.xml

    r3189 r3383  
     1<wrap> 
    12<p>The class <pyref module="ll.url" class="URL"><class>ll.url.URL</class></pyref> 
    23supports many common schemes and one additional special scheme named 
     
    5960<p>I.e. this gives us a relative &url; that references <lit>url2</lit> 
    6061from <lit>base</lit> when both &url;s are relative to the same root directory.</p> 
     62</wrap> 
  • docs/XIST_Advanced.xml

    r3197 r3383  
     1<wrap> 
    12<section><h>Converter contexts</h> 
    23 
     
    222223module.</p> 
    223224</section> 
     225</wrap> 
  • docs/XIST_Examples.xml

    r3189 r3383  
    1 <?xml version='1.0' encoding='iso-8859-1'?> 
    2  
     1<?xml version='1.0' encoding='utf-8'?> 
     2 
     3<wrap> 
    34<section><h>Creating &html;</h> 
    45 
     
    300301 
    301302</section> 
     303</wrap> 
  • docs/XIST_Howto.xml

    r3204 r3383  
    1 <?xml version='1.0' encoding='iso-8859-1'?> 
     1<?xml version='1.0' encoding='utf-8'?> 
     2<wrap> 
    23<p>&xist; is an extensible &html;/&xml; generator written in Python. 
    34It was developed as a replacement for an &html; preprocessor named 
     
    764765<tty> 
    765766<prompt>&gt;&gt;&gt; </prompt><input>from ll.xist.ns import html</input> 
    766 <prompt>&gt;&gt;&gt; </prompt><input>node = html.div(u"äöü", html.br(), u"ÄÖÜ")</input> 
     767<prompt>&gt;&gt;&gt; </prompt><input>node = html.div(u"ÀöÌ", html.br(), u"ÄÖÜ")</input> 
    767768<prompt>&gt;&gt;&gt; </prompt><input>node.write(open("foo.html", "wb"), encoding="ascii")</input> 
    768769</tty> 
     
    788789&lt;div&gt;A&amp;#228;&amp;#937;&amp;#35486;&gt; 
    789790<prompt>&gt;&gt;&gt; </prompt><input>print node.bytes(encoding="iso-8859-1")</input> 
    790 &lt;div&gt;Aä&amp;#937;&amp;#35486;&gt; 
     791&lt;div&gt;AÀ&amp;#937;&amp;#35486;&gt; 
    791792<prompt>&gt;&gt;&gt; </prompt><input>print xsc.Comment(s).bytes(encoding="ascii")</input> 
    792793Traceback (most recent call last): 
     
    996997 
    997998</section> 
     999</wrap> 
  • docs/XIST_Misc.xml

    r3199 r3383  
    1 <?xml version='1.0' encoding='iso-8859-1'?> 
     1<?xml version='1.0' encoding='utf-8'?> 
     2<wrap> 
    23<section><h>&url;s</h> 
    34 
     
    155156 
    156157</section> 
     158</wrap> 
  • docs/XIST_Searching.xml

    r3203 r3383  
     1<wrap> 
    12<section><h>The <meth>walk</meth> method</h> 
    23 
     
    261262 
    262263</section> 
     264</wrap>