This allows the inbuilt python XML parser to handle these includes.
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
parameter_all = task.outputs[0].bldpath(task.env)
articles = task.inputs
- t = '<section xmlns:xi="http://www.w3.org/2003/XInclude">\n'
+ 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 += "</section>\n"