Click here to Skip to main content
15,915,019 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expression to convert from PHP to C# [modified] Pin
Graham Nimbley26-Jun-06 13:05
Graham Nimbley26-Jun-06 13:05 
GeneralRe: Regular Expression to convert from PHP to C# [modified] Pin
AngryC26-Jun-06 13:16
AngryC26-Jun-06 13:16 
GeneralRe: Regular Expression to convert from PHP to C# Pin
Graham Nimbley26-Jun-06 13:21
Graham Nimbley26-Jun-06 13:21 
GeneralRe: Regular Expression to convert from PHP to C# Pin
AngryC26-Jun-06 13:30
AngryC26-Jun-06 13:30 
GeneralRe: Regular Expression to convert from PHP to C# Pin
Graham Nimbley26-Jun-06 13:41
Graham Nimbley26-Jun-06 13:41 
QuestionDeserialize XML by reverse-engineering class def Pin
Ed 5425-Jun-06 5:18
Ed 5425-Jun-06 5:18 
AnswerRe: Deserialize XML by reverse-engineering class def Pin
Guffa25-Jun-06 6:35
Guffa25-Jun-06 6:35 
GeneralRe: Deserialize XML by reverse-engineering class def Pin
Ed 5425-Jun-06 16:48
Ed 5425-Jun-06 16:48 
No, I'm not sure, and it probably wasn't. In fact, most likely it was generated by another language, like php or javascript. I didn't realize that was an issue. I figured that since an XML file was just text in XML format, with no special notation to indicate that it was serialized, it wouldn't matter whether it was serialized or generated by another method. As long as the class definition matched the XML format, I couldn't see how the deserializer would know any better. But I'm new to all this.

In any event, I wound up parsing the XML with XmlTextReader, and it wasn't too hard since I'm only extracting one node right now. But if I wanted to extract multiple nodes, or a whole data record, deserialization would be a better solution if it were possible. Is it?
AnswerRe: Deserialize XML by reverse-engineering class def Pin
Guffa25-Jun-06 18:52
Guffa25-Jun-06 18:52 
GeneralRe: Deserialize XML by reverse-engineering class def Pin
Ed 5426-Jun-06 12:57
Ed 5426-Jun-06 12:57 
QuestionUnderstanding DataSets... [modified] Pin
martin_hughes25-Jun-06 4:56
martin_hughes25-Jun-06 4:56 
AnswerRe: Understanding DataSets... Pin
Robert Rohde25-Jun-06 20:10
Robert Rohde25-Jun-06 20:10 
QuestionOptional field selection SQL Pin
WillemM25-Jun-06 4:30
WillemM25-Jun-06 4:30 
AnswerRe: Optional field selection SQL Pin
Michael P Butler25-Jun-06 5:04
Michael P Butler25-Jun-06 5:04 
GeneralRe: Optional field selection SQL Pin
WillemM25-Jun-06 5:28
WillemM25-Jun-06 5:28 
Questionbug in HScrollBar control object Pin
3Dizard25-Jun-06 4:17
3Dizard25-Jun-06 4:17 
AnswerRe: bug in HScrollBar control object [modified] Pin
Graham Nimbley25-Jun-06 10:12
Graham Nimbley25-Jun-06 10:12 
GeneralRe: bug in HScrollBar control object Pin
3Dizard26-Jun-06 4:28
3Dizard26-Jun-06 4:28 
Questionclass or struct? Pin
Super Lloyd25-Jun-06 4:16
Super Lloyd25-Jun-06 4:16 
AnswerRe: class or struct? Pin
Jun Du25-Jun-06 4:39
Jun Du25-Jun-06 4:39 
GeneralRe: class or struct? Pin
Super Lloyd25-Jun-06 5:10
Super Lloyd25-Jun-06 5:10 
AnswerRe: class or struct? Pin
Guffa25-Jun-06 5:09
Guffa25-Jun-06 5:09 
GeneralRe: class or struct? Pin
Super Lloyd25-Jun-06 5:12
Super Lloyd25-Jun-06 5:12 
Questionpicture box - help!! Pin
printscreen1234525-Jun-06 4:01
printscreen1234525-Jun-06 4:01 
AnswerRe: picture box - help!! Pin
Graham Nimbley25-Jun-06 10:08
Graham Nimbley25-Jun-06 10:08 

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.