diff --git a/stepmania/Docs/Lua.xsd b/stepmania/Docs/Lua.xsd new file mode 100644 index 0000000000..a3e4355b04 --- /dev/null +++ b/stepmania/Docs/Lua.xsd @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stepmania/Docs/Lua.xsl b/stepmania/Docs/Lua.xsl index 2a85ab3a0c..6570d48433 100644 --- a/stepmania/Docs/Lua.xsl +++ b/stepmania/Docs/Lua.xsl @@ -1,7 +1,8 @@ + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:sm="http://www.stepmania.com"> @@ -56,7 +57,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - + StepMania LUA Information @@ -69,25 +70,25 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - - - - - + + + + + - Generated for on - . + Generated for on + . - + Singletons - + @@ -101,18 +102,18 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - + Classes - + - + @@ -133,7 +134,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> list_ - + @@ -141,34 +142,34 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - + Global Functions - + - + - + Enums - + - + Toggle('') @@ -182,7 +183,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Enum Value - + @@ -195,7 +196,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - + Constants @@ -204,7 +205,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Constant Value - + diff --git a/stepmania/src/ExportStrings.cpp b/stepmania/src/ExportStrings.cpp index d0cd530aab..60a613edc3 100644 --- a/stepmania/src/ExportStrings.cpp +++ b/stepmania/src/ExportStrings.cpp @@ -47,6 +47,9 @@ void ExportStrings::Nsis() void ExportStrings::LuaInformation() { XNode *pNode = LUA->GetLuaInformation(); + pNode->AppendAttr( "xmlns", "http://www.stepmania.com" ); + pNode->AppendAttr( "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance" ); + pNode->AppendAttr( "xsi:schemaLocation", "http://www.stepmania.com Lua.xsd" ); XNode *pVersionNode = pNode->AppendChild( "Version" ); pVersionNode->m_sValue = PRODUCT_ID_VER;
- Generated for on - . + Generated for on + .