Update generatedocbook

Add namespace "xlink" to attribute "title" under element "link"

Bug #1178395

Change-Id: I41dfa51a03dc59efcd96004190aa42d5278dccdf
This commit is contained in:
daisy-ycguo 2013-05-10 03:49:48 +08:00
parent 59e24dc150
commit b6ccc4530f

View File

@ -91,6 +91,8 @@ def changeXMLLangSetting(xmlFile, language):
for node in nodelists :
if (node.hasAttribute("href")) :
node.setAttribute("xlink:href", node.getAttribute("href"))
if (node.hasAttribute("title")) :
node.setAttribute("xlink:title", node.getAttribute("title"))
dom.writexml(fileObj)