Welcome! Log In Create A New Profile

Advanced

namespace in xmlDocument

Posted by peter van de Sande 
peter van de Sande
namespace in xmlDocument
October 11, 2012 10:46AM
Hi,

Can anybody tell me how to add the following namespace to an xmlDocument:
xsi:noNamespaceSchemaLocation="Artikel.xsd"

Windev adds a xmlns: to the above mentioned line and because it already contains a ":" schema validation fails.

This seems to work fine:
advPRICAT is xmlDocument <description="Artikelbericht_insbou003">
advNamespace is xmlNamespace
nNode is dynamic xmlNode

nNode = advPRICAT.PriceCatalogue
advNamespace..Name="xs"
advNamespace..URI = "[www.w3.org];
Add(nNode..NamespaceDeclared,advNamespace)
advNamespace..Name="xsi"
advNamespace..URI = "[www.w3.org];

Any help appreciated!

Peter
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: