Changeset 491:28a499cee57c in livinglogic.python.www

Show
Ignore:
Timestamp:
09/25/07 18:36:01 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Adapt to XISTs newparser branch.

Location:
site
Files:
24 modified

Legend:

Unmodified
Added
Removed
  • site/Python_xmlns.py

    r490 r491  
    12001200            raise ValueError("unknown conversion target %r" % target) 
    12011201        else: 
    1202             with xsc.Frag(xml.XML10(), u"\n", target.DocTypeXHTML10transitional(), u"\n") as e: 
     1202            with xsc.Frag(xml.XML(), u"\n", target.DocTypeXHTML10transitional(), u"\n") as e: 
    12031203                with target.html(xml.Attrs(lang=u"en"), lang=u"en"): 
    12041204                    with target.head(): 
  • site/aplora/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.aplora/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.aplora/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/aplora/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.aplora/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.aplora/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/core/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.core/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.core/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/core/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.core/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.core/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/core/Migration.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.core/MIGRATION.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.core/MIGRATION.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/core/OldHistory.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.core/OLDNEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.core/OLDNEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/core/OldMigration.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.core/OLDMIGRATION.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.core/OLDMIGRATION.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/m.py

    • Property exe deleted
    r488 r491  
    8888        pyns = makens("py", "Python_xmlns.py") 
    8989 
    90         xmlparser = parsers.Parser(prefixes={None: (chars, abbr, doc, specials)}) 
     90        xmlbuilder = parsers.Builder(prefixes={None: (chars, abbr, doc, specials)}) 
    9191        publisher = publishers.Publisher(encoding="utf-8", xhtml=1) 
    9292        fopublisher = publishers.Publisher(prefixes={fo: "fo", doc: "doc", "specials": specials}, encoding="utf-8", xhtml=2) 
     
    236236                    f / 
    237237                    collect / 
    238                     make.XISTParseAction(parser=xmlparser, base=root/newid).addinputs(pyns) / 
     238                    make.XISTParseAction(builder=xmlbuilder, base=root/newid).addinputs(pyns) / 
    239239                    make.XISTConvertAction() / 
    240240                    make.XISTPublishAction(publisher=publisher, base=root/newid) / 
     
    267267                t2 = self.add( 
    268268                    realf / 
    269                     make.XISTParseAction(xmlparser, root/txtid).addinputs(pyns, mod_xist_ns_doc, mod_xist_ns_html) / 
     269                    make.XISTParseAction(xmlbuilder, root/txtid).addinputs(pyns, mod_xist_ns_doc, mod_xist_ns_html) / 
    270270                    make.XISTConvertAction(target=html) / 
    271271                    ExtractContentAction() / 
     
    295295                fot2 = self.add( 
    296296                    realf / 
    297                     make.XISTParseAction(xmlparser, root/foid).addinputs(pyns, mod_xist_ns_doc) / 
     297                    make.XISTParseAction(xmlbuilder, root/foid).addinputs(pyns, mod_xist_ns_doc) / 
    298298                    XISTFOAction() / 
    299299                    make.XISTConvertAction(target=fo) / 
  • site/nightshade/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.nightshade/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.nightshade/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/nightshade/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.nightshade/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.nightshade/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/nightshade/Migration.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.nightshade/MIGRATION.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.nightshade/MIGRATION.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/orasql/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.orasql/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.orasql/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/orasql/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.orasql/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.orasql/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/pycoco/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.pycoco/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.pycoco/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/pycoco/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.pycoco/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.pycoco/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/toxic/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.toxic/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.toxic/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/toxic/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.toxic/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.toxic/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/url/Howto.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.core/URL_HOWTO.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.core/URL_HOWTO.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/xist/Examples.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.xist/EXAMPLES.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.xist/EXAMPLES.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/xist/History.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.xist/NEWS.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.xist/NEWS.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/xist/Howto.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.xist/HOWTO.xml", base="root:xist/Howto.html", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.xist/HOWTO.xml", base="root:xist/Howto.html", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/xist/Installation.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.xist/INSTALL.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.xist/INSTALL.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page> 
  • site/xist/Migration.htmlxsc

    r485 r491  
    33<?pyeval 
    44    from ll.xist import xsc, parsers 
    5     return parsers.parseFile("~/checkouts/LivingLogic.Python.xist/MIGRATION.xml", prefixes=xsc.docprefixes()) 
     5    return parsers.parsefile("~/checkouts/LivingLogic.Python.xist/MIGRATION.xml", prefixes=xsc.docprefixes()) 
    66?> 
    77</py:page>