MoinMoin에서 XML 지원 방법

  1. Python4Suite 설치 - 0.11은 안 되더군요. 최신 1.0a1 설치해야 함.
  2. config.py 또는 moin_config.py에서 allow_xslt를 1로 설정
  3. <?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>이 지원되도록 패치
    ./Ft/Xml/Xslt/Processor.py 에서 'text/xsl' 추가

        XSLT_IMT = ['application/xslt+xml', 'application/xslt',
    -                   'text/xml', 'application/xml']
    +                   'text/xml', 'application/xml', 'text/xsl']
    
powered by MoniWiki Powered by FreeBSD DNS Powered by DNSEver.com
last modified 2003-04-08 14:51:38
Processing time 0.0252 sec