Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: namespace medley

From: SlavaSedov@-----------.---------.---
To: NULL
Date: 7/8/2005 10:07:00 AM
really?.. :) ok... i trust you, man... :)

by the way - how i can change default namespace of root element?

"Martin Honnen" wrote:

> 
> 
> 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/
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent