ALAppExtensions
ALAppExtensions copied to clipboard
Error creating and namespace without a prefix
I am trying to create a namesapace without a prefix and I get the next runtime error:

The third line is the one that trigger the error:
xmlElem[1].Add(XmlAttribute.CreateNamespaceDeclaration('xsi', 'http://www.w3.org/2001/XMLSchema-instance'));
xmlElem[1].Add(XmlAttribute.CreateNamespaceDeclaration('xsd', 'http://www.w3.org/2001/XMLSchema'));
xmlElem[1].Add(XmlAttribute.CreateNamespaceDeclaration('', 'http://www.facturae.es/Facturae/2009/v3.2/Facturae'));
In the documentation looks like is possible:

Regards
Sorry I put the errro in the wrong place.