docs: remove the file prefix from included path names
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 04:09:39 +0000 (17:09 +1300)
committerMichael Adam <obnox@samba.org>
Wed, 29 Jan 2014 08:11:25 +0000 (09:11 +0100)
This allows the inbuilt python xml modules to perform the include.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
docs-xml/wscript_build

index d6ef434cf3ca23bc5901cd384f7e0fef5ba7a6cd..d1b3ec5482123fdc1800511d52b70f92e34d2146 100644 (file)
@@ -100,7 +100,7 @@ def smbdotconf_generate_parameter_list(task):
 
     t = '<section xmlns:xi="http://www.w3.org/2001/XInclude">\n'
     for article in articles:
-        t += "<xi:include href='file://" + article.abspath(task.env) + "' parse='xml'/>\n"
+        t += "<xi:include href='" + article.abspath(task.env) + "' parse='xml'/>\n"
     t += "</section>\n"
     save_file(parameter_all, t , create_dir=True)
     return 0