Click here to Skip to main content
14,739,867 members
Home » Discussions » XML / XSL
   

XML / XSL

 
AnswerRe: Use XmlAttributeOverrides, but get an InvalidOperationException nevertheless Pin
Bernhard Hiller2-Apr-14 22:24
MemberBernhard Hiller2-Apr-14 22:24 
GeneralRe: Use XmlAttributeOverrides, but get an InvalidOperationException nevertheless Pin
Christian Treffler3-Apr-14 5:03
MemberChristian Treffler3-Apr-14 5:03 
QuestionXpath selecting nodes based on multiple attributes Pin
joost.versteegen4-Dec-13 5:28
Memberjoost.versteegen4-Dec-13 5:28 
AnswerRe: Xpath selecting nodes based on multiple attributes Pin
PIEBALDconsult4-Dec-13 5:46
professionalPIEBALDconsult4-Dec-13 5:46 
GeneralRe: Xpath selecting nodes based on multiple attributes Pin
joost.versteegen4-Dec-13 21:50
Memberjoost.versteegen4-Dec-13 21:50 
AnswerRe: Xpath selecting nodes based on multiple attributes Pin
Richard Deeming4-Dec-13 5:57
mveRichard Deeming4-Dec-13 5:57 
QuestionXPath following-sibling Pin
savbace21-Oct-13 0:20
Membersavbace21-Oct-13 0:20 
QuestionXML validation. Pin
Septimus Hedgehog18-Aug-13 23:02
MemberSeptimus Hedgehog18-Aug-13 23:02 
Guys, give me your thoughts on how you validate your xml at runtime. I recently fell into a drawn-out debug session where I couldn't see the problem with my xml file. I opened it in c#, read it, and checked for various attributes and what have you, adopting plan B that if I don't find an attribute I'll assume a default value.

The problem was I had an attribute called Recursion but I inadvertently spelt it Recursive, not the same thing! Big Grin | :-D

I know I could validate the xml with an xsd file which sounds great in principal but is that the preferred way to validate your xml or do you do it the "safer" (word used very loosely) way by keeping all the literal names in your code and then issue warnings if things don't pass muster?

The xsd file itself could for any number of reasons be subject to an incorrect edit. I'd like to know which way you do things to ensure that when it comes to the usage, your xml is as clean to use as you can make it. Ideas?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

AnswerRe: XML validation. Pin
joost.versteegen5-Dec-13 23:00
Memberjoost.versteegen5-Dec-13 23:00 
AnswerMessage Closed Pin
20-Sep-14 1:38
MemberRaushank0320-Sep-14 1:38 
QuestionSlow group - noob Xml question - converting binary structure to Xml and back? Pin
charlieg24-Jul-13 4:10
Membercharlieg24-Jul-13 4:10 
AnswerRe: Slow group - noob Xml question - converting binary structure to Xml and back? Pin
Richard MacCutchan24-Jul-13 6:06
mveRichard MacCutchan24-Jul-13 6:06 
GeneralRe: Slow group - noob Xml question - converting binary structure to Xml and back? Pin
charlieg24-Jul-13 6:09
Membercharlieg24-Jul-13 6:09 
QuestionEmpty node when data specified in xsd Pin
DaveyM6919-Jul-13 0:57
professionalDaveyM6919-Jul-13 0:57 
AnswerRe: Empty node when data specified in xsd Pin
Richard MacCutchan19-Jul-13 1:01
mveRichard MacCutchan19-Jul-13 1:01 
GeneralRe: Empty node when data specified in xsd Pin
DaveyM6919-Jul-13 1:06
professionalDaveyM6919-Jul-13 1:06 
GeneralRe: Empty node when data specified in xsd Pin
Richard MacCutchan19-Jul-13 1:14
mveRichard MacCutchan19-Jul-13 1:14 
GeneralRe: Empty node when data specified in xsd Pin
DaveyM6919-Jul-13 1:27
professionalDaveyM6919-Jul-13 1:27 
GeneralRe: Empty node when data specified in xsd Pin
Nicholas Marty19-Jul-13 1:49
professionalNicholas Marty19-Jul-13 1:49 
GeneralRe: Empty node when data specified in xsd Pin
DaveyM6919-Jul-13 4:53
professionalDaveyM6919-Jul-13 4:53 
GeneralRe: Empty node when data specified in xsd Pin
Richard MacCutchan19-Jul-13 3:21
mveRichard MacCutchan19-Jul-13 3:21 
GeneralRe: Empty node when data specified in xsd Pin
DaveyM6919-Jul-13 4:51
professionalDaveyM6919-Jul-13 4:51 
AnswerRe: Empty node when data specified in xsd Pin
jinzai17-Jul-14 14:01
Memberjinzai17-Jul-14 14:01 
QuestionMerging 2 consecutive List items in XSLT Pin
David Kroj14-Jul-13 22:17
MemberDavid Kroj14-Jul-13 22:17 
QuestionHow to do curd operations on XML Which Shown Below Pin
Rambabu Sapa10-Jul-13 2:40
MemberRambabu Sapa10-Jul-13 2:40 

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.