PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 1.00 average.

How do i remove xmlns:xsd when serialize?

 
 
Julia
Guest
Posts: n/a
 
      20th Jul 2004
Hello

How can i control the serialize result?
I dont need <?xml version="1.0" encoding="utf-8" ?> and
"xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

in the following example:

<?xml version="1.0" encoding="utf-8" ?>
<Message xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<info>
<id>0</id>
</info>
</Message>


 
Reply With Quote
 
 
 
 
Matthias Steinbart
Guest
Posts: n/a
 
      20th Jul 2004
are you using the XmlSerializer?

--
-----
fragmente einer flugbahn - http://emvoid.de



"Julia" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Hello
>
> How can i control the serialize result?
> I dont need <?xml version="1.0" encoding="utf-8" ?> and
> "xmlns:xsd=http://www.w3.org/2001/XMLSchema
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> in the following example:
>
> <?xml version="1.0" encoding="utf-8" ?>
> <Message xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <info>
> <id>0</id>
> </info>
> </Message>
>
>



 
Reply With Quote
 
Julia
Guest
Posts: n/a
 
      20th Jul 2004
Yes

"Matthias Steinbart" <postamt@_REMOVEME_emvoid.de> wrote in message
news:(E-Mail Removed)...
> are you using the XmlSerializer?
>
> --
> -----
> fragmente einer flugbahn - http://emvoid.de
>
>
>
> "Julia" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:(E-Mail Removed)...
> > Hello
> >
> > How can i control the serialize result?
> > I dont need <?xml version="1.0" encoding="utf-8" ?> and
> > "xmlns:xsd=http://www.w3.org/2001/XMLSchema
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> > in the following example:
> >
> > <?xml version="1.0" encoding="utf-8" ?>
> > <Message xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <info>
> > <id>0</id>
> > </info>
> > </Message>
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove xmlns attribute from XML document (.net) fzhang@calamos.com Microsoft C# .NET 6 8th May 2006 07:09 PM
[RESEND] Need to remove blank XMLNS attribute from xmldocument =?Utf-8?B?RXdhbiBGYWlyd2VhdGhlcg==?= Microsoft ASP .NET 1 18th Apr 2006 02:39 PM
Need to remove blank XMLNS attribute from xmldocument =?Utf-8?B?RXdhbiBGYWlyd2VhdGhlcg==?= Microsoft ASP .NET 0 14th Apr 2006 07:06 PM
Remove xmlns attribute =?Utf-8?B?TWljaGHFgiBKYW51c3pjenlr?= Microsoft Dot NET Framework 0 26th Nov 2004 05:13 PM
How do i remove xmlns:xsd when serialize? Julia Microsoft Dot NET Framework Forms 2 20th Jul 2004 01:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:27 PM.