Changeset 4052:88a13e8947d6 in livinglogic.python.xist for src/ll/xist/scripts/dtd2xsc.py

Show
Ignore:
Timestamp:
06/14/10 12:26:31 (9 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Module renaming and cleanup.

Rename the ll.xist.parsers module to parse and presenters to present.

Move ll.xist.publishers.Publisher and ll.xist.converters.Converter into the
ll.xist.xsc module and remove ll.xist.publishers and ll.xist.converters.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/scripts/dtd2xsc.py

    r4014 r4052  
    3333 
    3434from ll import url 
    35 from ll.xist import xsc, parsers, xnd 
     35from ll.xist import xsc, parse, xnd 
    3636 
    3737 
     
    152152    for entname in ents: 
    153153        if entname not in ("quot", "apos", "gt", "lt", "amp"): 
    154             ent = parsers.tree(dtd.resolve_ge(entname).value, parsers.Encoder("utf-8"), parsers.SGMLOP(encoding="utf-8"), parsers.NS(), parsers.Instantiate()) 
     154            ent = parse.tree(dtd.resolve_ge(entname).value, parse.Encoder("utf-8"), parse.SGMLOP(encoding="utf-8"), parse.NS(), parse.Instantiate()) 
    155155            ns.content.append(xnd.CharRef(entname, codepoint=ord(unicode(ent[0])[0]))) 
    156156