Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: extra xmlns >Thread Next - Re: extra xmlns Re: extra xmlnsTo: NULL Date: 2/2/2005 11:13:00 AM * stanley wrote in microsoft.public.xml:
>the problem is still-how can i add the "address" element with no namespace
>(the xmlns namespace) ?
>when i am using the 'CreateNode' method as you advised me i get the address
>elenemt with the same namespce as it's parent(the 'employee')
You said you want
<employee xmlns="x-schema:file:///E:\TK_SQL\EMPLOYEE-SCHEMA.XML">
<address />
</employee>
In this case, both the employee and address elements are in the same
namespace, if you want the address element to be in no namespace, you
would want the result to be
<employee xmlns="x-schema:file:///E:\TK_SQL\EMPLOYEE-SCHEMA.XML">
<address xmlns="" />
</employee>
and you get that already. So maybe you can clarify what's wrong with
the result if you specify the namespace for the address element?
--
Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
