Click here to Skip to main content
15,901,853 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Removing Span Tag ? Pin
AndyInUK19-Jan-09 4:06
AndyInUK19-Jan-09 4:06 
QuestionRe: Removing Span Tag ? Pin
George L. Jackson19-Jan-09 12:40
George L. Jackson19-Jan-09 12:40 
AnswerRe: Removing Span Tag ? [modified] Pin
AndyInUK19-Jan-09 22:19
AndyInUK19-Jan-09 22:19 
GeneralRe: Removing Span Tag ? Pin
George L. Jackson20-Jan-09 8:14
George L. Jackson20-Jan-09 8:14 
GeneralRe: Removing Span Tag ? Pin
AndyInUK20-Jan-09 23:13
AndyInUK20-Jan-09 23:13 
GeneralRe: Removing Span Tag ? Pin
George L. Jackson21-Jan-09 3:52
George L. Jackson21-Jan-09 3:52 
GeneralRe: Removing Span Tag ? Pin
AndyInUK22-Jan-09 23:26
AndyInUK22-Jan-09 23:26 
QuestionXML Serialization & Deserialization Pin
mike12354310-Jan-09 9:22
mike12354310-Jan-09 9:22 
Hi all

I am looking at XML Serialization at the moment, most of it is pretty straight forward [so far]. I am after creating my own employee class that I am configuring for XML serialization,
1. declaring it as a Public class,
2. making all necessary variables Public and
3. adding a Parameterless constructor.

When I was looking into BinaryFormatter and SoapFormatter, to handle Deserialization I had to implement the interface IDeserializationCallback and then create a method that implements IDeserializationCallback.OnDeserialization to populate any temporary variables. How do I do this with XML Serialization?

The example I've seen in the book for MCTS exam 70-536 shows that you take your employee class and add the serializable attribute to it and implement IDeserializationCallback. You then use the attribute NonSerialized to mark a type that is not to be serialized.

Michael.
AnswerRe: XML Serialization & Deserialization Pin
Henry Minute12-Jan-09 5:19
Henry Minute12-Jan-09 5:19 
GeneralRe: XML Serialization & Deserialization Pin
mike12354312-Jan-09 8:06
mike12354312-Jan-09 8:06 
GeneralRe: XML Serialization & Deserialization Pin
Henry Minute12-Jan-09 10:08
Henry Minute12-Jan-09 10:08 
Questionxml Pin
sevda209-Jan-09 21:43
sevda209-Jan-09 21:43 
AnswerRe: xml Pin
Brij9-Jan-09 23:05
mentorBrij9-Jan-09 23:05 
GeneralRe: xml Pin
sevda2010-Jan-09 23:43
sevda2010-Jan-09 23:43 
Answerproblem with validate of this schema Pin
Honeyboy_207-Jan-09 3:05
Honeyboy_207-Jan-09 3:05 
GeneralRe: problem with validate of this schema Pin
Henry Minute12-Jan-09 5:15
Henry Minute12-Jan-09 5:15 
QuestionHTML tags in XML schema Pin
jonhbt6-Jan-09 23:16
jonhbt6-Jan-09 23:16 
AnswerRe: HTML tags in XML schema Pin
Not Active7-Jan-09 2:48
mentorNot Active7-Jan-09 2:48 
Questionexecuting visio flow chart Pin
sree6-Jan-09 4:12
sree6-Jan-09 4:12 
Questioni want to understand the contents of schema ? Pin
Honeyboy_205-Jan-09 7:55
Honeyboy_205-Jan-09 7:55 
AnswerRe: i want to understand the contents of schema ? Pin
SreejithKumar M5-Jan-09 17:31
SreejithKumar M5-Jan-09 17:31 
Question@ Symbol within XML Schema Pin
tomkettering4-Jan-09 21:54
tomkettering4-Jan-09 21:54 
AnswerRe: @ Symbol within XML Schema Pin
led mike5-Jan-09 4:57
led mike5-Jan-09 4:57 
GeneralRe: @ Symbol within XML Schema Pin
tomkettering5-Jan-09 22:31
tomkettering5-Jan-09 22:31 
Questionschema for xml document Pin
tejesh1232-Jan-09 22:26
tejesh1232-Jan-09 22:26 

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.