Browse Source

Update generatedocbook

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

Bug #1178395

Change-Id: I41dfa51a03dc59efcd96004190aa42d5278dccdf
tags/0.1
daisy-ycguo 7 years ago
parent
commit
a5c38ec386
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      generatedocbook

+ 2
- 0
generatedocbook 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)



Loading…
Cancel
Save