Changeset 3180:c414962d9e75 in livinglogic.python.xist for src/ll/xist/scripts/dtd2xsc.py

Show
Ignore:
Timestamp:
01/25/08 19:01:40 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Convert all docstrings to ReST.

Files:
1 modified

Legend:

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

    r3128 r3180  
    1111 
    1212""" 
    13 <p>Module that helps to create &xist; namespace modules from &dtd;s. 
    14 Needs <app>xmlproc</app> from the <app>PyXML</app> package. 
    15 For usage information type:</p> 
    16 <prog> 
    17 dtd2xsc --help 
    18 </prog> 
     13Module that helps to create XIST namespace modules from DTDs. Needs xmlproc__ 
     14 
     15__http://www.garshol.priv.no/download/software/xmlproc/ 
     16 
     17For usage information type:: 
     18 
     19    $ dtd2xsc --help 
     20 
    1921""" 
     22 
     23 
     24__docformat__ = "reStructuredText" 
    2025 
    2126 
     
    2833 
    2934 
    30 __docformat__ = "xist" 
     35__docformat__ = "reStructuredText" 
    3136 
    3237 
    3338def getxmlns(dtd): 
    3439    """ 
    35     Extract the value of all fixed <lit>xmlns</lit> attributes 
     40    Extract the value of all fixed ``xmlns`` attributes 
    3641    """ 
    3742    found = set() 
     
    4954def dtd2xnd(dtd, xmlns=None): 
    5055    """ 
    51     Convert &dtd; information from the &url; <arg>dtdurl</arg> to an &xist; &dom; 
    52     using the <pyref module="ll.xist.xnd"><mod>xnd</mod></pyref> functionality. 
     56    Convert DTD information from the URL :var:`dtdurl` to an XIST DOM using the 
     57    :mod:`ll.xist.xnd` functionality. 
    5358    """ 
    5459