diff --git a/script/slaveinfo2xml.py b/script/slaveinfo2xml.py
index 04c9ff0ac0704f690250afdc10dbc32c3767c86d..b2ec41f253ca6ee20fdee7787c8941618c8fe9cc 100755
--- a/script/slaveinfo2xml.py
+++ b/script/slaveinfo2xml.py
@@ -172,7 +172,7 @@ class Device:
 
         typeElement = doc.createElement('Type')
         typeElement.setAttribute('ProductCode', '#x%08x' % self.product)
-        typeElement.setAttribute('RevisionNumber', '#x%08x' % self.revision)
+        typeElement.setAttribute('RevisionNo', '#x%08x' % self.revision)
         deviceElement.appendChild(typeElement)
 
         for p in self.pdos: