Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - namespace medley >Thread Next - Re: namespace medley Re: namespace medleyTo: NULL Date: 7/8/2005 6:10:00 PM Slava Sedov wrote: > XmlWriter generated xml like this > > <div p1:id="bookinfo" xmlns="http://www.w3.org/1999/xhtml" > xmlns:p1="http://www.w3.org/1999/xhtml"> > ..... > > what i must to do to avoid extra unneeded namespace declarations?.. Why unneeded? If you really need to have the element in the default namespace (e.g. xmlns="...") and you want to have an attribute in the same namespace then you need to have a prefix for the namespace too (e.g. xmlns:p1="..."). How are you using XmlWriter to produce that markup and what markup is it that you really want to have? -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
