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 ae01c04fd4
commit a5c38ec386
1 changed files with 2 additions and 0 deletions

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)