diff options
author | Dirk Baechle <dl9obn@darc.de> | 2013-05-03 22:27:37 (GMT) |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2013-05-03 22:27:37 (GMT) |
commit | 6af67d1431b5d534731ff0dc17ff306639a1a854 (patch) | |
tree | 5ce85eab2b68b7500ff5ce45049bcf57c3296e75 /src | |
parent | 10afdcc2e22670940b7de6319f614cb177f83516 (diff) | |
download | SCons-6af67d1431b5d534731ff0dc17ff306639a1a854.zip SCons-6af67d1431b5d534731ff0dc17ff306639a1a854.tar.gz SCons-6af67d1431b5d534731ff0dc17ff306639a1a854.tar.bz2 |
- corrected xincludes for MAN pages
- started to work on support for UserGuide examples
- added xslt for transforming SCons XSD to Docbook documents
- added SConstructs for all documents and titlepage for the UserGuide
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Tool/docbook/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/docbook/__init__.py b/src/engine/SCons/Tool/docbook/__init__.py index e1939d4..b1c643d 100644 --- a/src/engine/SCons/Tool/docbook/__init__.py +++ b/src/engine/SCons/Tool/docbook/__init__.py @@ -270,7 +270,7 @@ def __build_libxml2(target, source, env): xsl_style = env.subst('$DOCBOOK_XSL') styledoc = libxml2.parseFile(xsl_style) style = libxslt.parseStylesheetDoc(styledoc) - doc = libxml2.parseFile(str(source[0])) + doc = libxml2.readFile(str(source[0]),None,libxml2.XML_PARSE_NOENT) # Support for additional parameters parampass = {} if parampass: @@ -308,7 +308,7 @@ def __xinclude_libxml2(target, source, env): """ Resolving XIncludes, using the libxml2 module. """ - doc = libxml2.parseFile(str(source[0])) + doc = libxml2.readFile(str(source[0]), None, libxml2.XML_PARSE_NOENT) doc.xincludeProcess() doc.saveFile(str(target[0])) doc.freeDoc() |