Click here to Skip to main content
15,793,546 members
Home / Discussions / XML / XSL
   

XML / XSL

 
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
jinzai17-Jul-14 14:01 
It is valid -- but, the creator of the XSD did not indicate that it was required -- and you have assumed that it is required. If your code cannot tolerate that -- then modify the XSD to make it required and have whoever produces the XML give it a default value....

However, this is simply pushing it off to the side. This is an issue that does not relate to XML per se -- it relates to best practices about defining and validating data.

The XSD defines the structure and rules of XML -- so the designer of the schema must describe the data perfectly and consumers must not make assumptions that are not supported by the XSD.
QuestionMerging 2 consecutive List items in XSLT Pin
David Kroj14-Jul-13 22:17
David Kroj14-Jul-13 22:17 
QuestionHow to do curd operations on XML Which Shown Below Pin
Rambabu Sapa10-Jul-13 2:40
Rambabu Sapa10-Jul-13 2:40 
QuestionRe: How to do curd operations on XML Which Shown Below Pin
Richard MacCutchan10-Jul-13 5:25
mveRichard MacCutchan10-Jul-13 5:25 
AnswerRe: How to do curd operations on XML Which Shown Below Pin
Rambabu Sapa11-Jul-13 4:18
Rambabu Sapa11-Jul-13 4:18 
AnswerRe: How to do curd operations on XML Which Shown Below Pin
jinzai17-Jul-14 14:07
jinzai17-Jul-14 14:07 
Questiondisplaying xml file on wpf Pin
adinarayana095808-Jul-13 19:37
adinarayana095808-Jul-13 19:37 
AnswerRe: displaying xml file on wpf Pin
Richard MacCutchan8-Jul-13 22:28
mveRichard MacCutchan8-Jul-13 22:28 
QuestionChecking for valid xml file. Pin
Mark F.18-Jun-13 8:53
Mark F.18-Jun-13 8:53 
AnswerRe: Checking for valid xml file. Pin
Bernhard Hiller19-Jun-13 21:52
Bernhard Hiller19-Jun-13 21:52 
GeneralRe: Checking for valid xml file. Pin
Mark F.20-Jun-13 14:52
Mark F.20-Jun-13 14:52 
QuestionParsing HTML Pin
PIEBALDconsult18-Apr-13 6:15
professionalPIEBALDconsult18-Apr-13 6:15 
AnswerRe: Parsing HTML Pin
Richard Deeming18-Apr-13 6:56
mveRichard Deeming18-Apr-13 6:56 
GeneralRe: Parsing HTML Pin
PIEBALDconsult18-Apr-13 17:18
professionalPIEBALDconsult18-Apr-13 17:18 
GeneralRe: Parsing HTML Pin
Richard Deeming19-Apr-13 2:46
mveRichard Deeming19-Apr-13 2:46 
QuestionXML data representation Pin
Neo101015-Apr-13 1:39
Neo101015-Apr-13 1:39 
AnswerRe: XML data representation Pin
Kenneth Haugland5-Apr-13 3:13
professionalKenneth Haugland5-Apr-13 3:13 
QuestionHow to retrieve data from XLS/TXT file and DB? Pin
David venewald27-Feb-13 17:09
David venewald27-Feb-13 17:09 

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.