Click here to Skip to main content
15,895,283 members
Home / Discussions / C#
   

C#

 
GeneralGetting Information about Windows Share Folders Pin
Yuvaraj N21-Oct-04 0:13
Yuvaraj N21-Oct-04 0:13 
GeneralMarshalling Inline Arrays Pin
David M. Kean20-Oct-04 22:42
David M. Kean20-Oct-04 22:42 
GeneralC# com interfacing with c++ Pin
Dylan van Heerden20-Oct-04 22:01
Dylan van Heerden20-Oct-04 22:01 
GeneralRe: C# com interfacing with c++ Pin
perlmunger21-Oct-04 7:22
perlmunger21-Oct-04 7:22 
GeneralRe: C# com interfacing with c++ Pin
Dylan van Heerden21-Oct-04 8:54
Dylan van Heerden21-Oct-04 8:54 
QuestionWhy casting on enum member? Pin
Diana Fernandez20-Oct-04 20:52
Diana Fernandez20-Oct-04 20:52 
AnswerRe: Why casting on enum member? Pin
Colin Angus Mackay20-Oct-04 21:28
Colin Angus Mackay20-Oct-04 21:28 
GeneralXML Serialization Pin
Guillermo Jimenez20-Oct-04 19:33
Guillermo Jimenez20-Oct-04 19:33 
It so happens that I have a class named Poetic which is the rootelement. When SERIALIZED --using the XMLSerializer--the outcome should be:

<Poetic xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance" xsi:noNameSpaceSchemaLocation="http://poetic.publisher.com/xmlcomm/poetic.xsd">

My Class declaration is:

[System.Xml.Serialization.XmlRootAttribute("Poetic")]
public class Poetic
{
// properties, methods and the like in here
}

When I serialize it comes out:

<Poetic xmlns:xsd="http://http://www.w3.org/2001/XMLSchema" xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance">

So...

1. How do I get the xsi:noNamespaceSchemaLocation into the element using SERIALIZATION. I know the noName.. is part of the w3 spec.

2. How do I get rid of the xmlns:xsd="http://http://www.w3.org/2001/XMLSchema".


Thanks,



Guillermo Jimenez
GeneralRe: XML Serialization Pin
Nick Parker27-Oct-04 18:02
protectorNick Parker27-Oct-04 18:02 
GeneralCrystal Reports Dynamic! Pin
RADSGR20-Oct-04 19:28
RADSGR20-Oct-04 19:28 
QuestionBug in DateTimePicker control??? Pin
Luis Alonso Ramos20-Oct-04 16:12
Luis Alonso Ramos20-Oct-04 16:12 
GeneralWindow messaging for IPC Pin
ppp00120-Oct-04 14:27
ppp00120-Oct-04 14:27 
GeneralRe: Window messaging for IPC Pin
Heath Stewart20-Oct-04 16:16
protectorHeath Stewart20-Oct-04 16:16 
GeneralRe: Window messaging for IPC Pin
Alex Korchemniy20-Oct-04 19:37
Alex Korchemniy20-Oct-04 19:37 
GeneralPassing a controller object Pin
RikB20-Oct-04 14:09
RikB20-Oct-04 14:09 
GeneralRe: Passing a controller object Pin
perlmunger21-Oct-04 7:25
perlmunger21-Oct-04 7:25 
GeneralNetwork in C#: how to detect that I have a break connection Pin
youssef20-Oct-04 12:24
youssef20-Oct-04 12:24 
GeneralRe: Network in C#: how to detect that I have a break connection Pin
Heath Stewart20-Oct-04 16:36
protectorHeath Stewart20-Oct-04 16:36 
QuestionRegional parameters : how to change the langage of the system ? Pin
youssef20-Oct-04 12:24
youssef20-Oct-04 12:24 
AnswerRe: Regional parameters : how to change the langage of the system ? Pin
Nick Parker20-Oct-04 16:51
protectorNick Parker20-Oct-04 16:51 
GeneralVery Simple question Pin
ben220-Oct-04 11:52
ben220-Oct-04 11:52 
GeneralRe: Very Simple question Pin
Dave Kreskowiak20-Oct-04 12:24
mveDave Kreskowiak20-Oct-04 12:24 
GeneralUser Control Arrow Keys Not Being detected Pin
R2B220-Oct-04 11:22
R2B220-Oct-04 11:22 
GeneralProblem with designer and custom UI editor Pin
object8820-Oct-04 9:52
object8820-Oct-04 9:52 
GeneralRe: Problem with designer and custom UI editor Pin
Heath Stewart20-Oct-04 10:12
protectorHeath Stewart20-Oct-04 10:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.