Click here to Skip to main content
15,887,135 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Convert XML file to an ASPX page Pin
Krishnaraj Barvathaya B20-Aug-08 4:49
Krishnaraj Barvathaya B20-Aug-08 4:49 
GeneralRe: Convert XML file to an ASPX page Pin
Christian Graus20-Aug-08 15:11
protectorChristian Graus20-Aug-08 15:11 
QuestionListbox-Multiple selection Pin
dhandapani8420-Aug-08 2:46
dhandapani8420-Aug-08 2:46 
AnswerRe: Listbox-Multiple selection Pin
Manas Bhardwaj20-Aug-08 2:48
professionalManas Bhardwaj20-Aug-08 2:48 
GeneralRe: Listbox-Multiple selection Pin
dhandapani8422-Aug-08 0:53
dhandapani8422-Aug-08 0:53 
AnswerRe: Listbox-Multiple selection Pin
Brij20-Aug-08 2:51
mentorBrij20-Aug-08 2:51 
GeneralRe: Listbox-Multiple selection Pin
dhandapani8422-Aug-08 0:51
dhandapani8422-Aug-08 0:51 
QuestionValidate an XmlDocument object Pin
John Gathogo20-Aug-08 2:20
John Gathogo20-Aug-08 2:20 
I have some data passed to a function as a string like:

"<?xml version=\"1.0\" encoding=\"utf-16\"?><Patient xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><FirstName>Joe</FirstName><LastName>Klink</LastName></Patient>"

I load this data into an XmlDocument object as follows:

mXmlDocument.LoadXml(var) - var has the xml string above

how can I validate this XmlDocument object against an existing schema.
Background: I can easily validate an xml file against a schema if am reading it from a physical file using XmlReader. My challenge is when am dealing with a loaded XmlDocument.

Thanks
AnswerRe: Validate an XmlDocument object Pin
Christian Flutcher20-Aug-08 2:36
Christian Flutcher20-Aug-08 2:36 
GeneralRe: Validate an XmlDocument object Pin
John Gathogo20-Aug-08 2:54
John Gathogo20-Aug-08 2:54 
GeneralRe: Validate an XmlDocument object Pin
Christian Flutcher20-Aug-08 3:06
Christian Flutcher20-Aug-08 3:06 
GeneralRe: Validate an XmlDocument object Pin
John Gathogo20-Aug-08 3:59
John Gathogo20-Aug-08 3:59 
AnswerRe: Validate an XmlDocument object Pin
Brij20-Aug-08 2:47
mentorBrij20-Aug-08 2:47 
Questionajax problem Pin
UD(IA)20-Aug-08 2:16
UD(IA)20-Aug-08 2:16 
AnswerRe: ajax problem Pin
Brij20-Aug-08 2:24
mentorBrij20-Aug-08 2:24 
AnswerRe: ajax problem Pin
Abhijit Jana20-Aug-08 2:25
professionalAbhijit Jana20-Aug-08 2:25 
GeneralRe: ajax problem Pin
UD(IA)20-Aug-08 2:45
UD(IA)20-Aug-08 2:45 
AnswerRe: ajax problem Pin
Abhijit Jana20-Aug-08 2:55
professionalAbhijit Jana20-Aug-08 2:55 
GeneralRe: ajax problem Pin
UD(IA)20-Aug-08 3:00
UD(IA)20-Aug-08 3:00 
GeneralRe: ajax problem Pin
UD(IA)20-Aug-08 5:10
UD(IA)20-Aug-08 5:10 
Questiongridview update problem plz help needed ,,, Pin
dream_liner_7e720-Aug-08 2:07
dream_liner_7e720-Aug-08 2:07 
AnswerRe: gridview update problem plz help needed ,,, Pin
UD(IA)20-Aug-08 3:40
UD(IA)20-Aug-08 3:40 
AnswerRe: gridview update problem plz help needed ,,, Pin
Abhijit Jana20-Aug-08 4:13
professionalAbhijit Jana20-Aug-08 4:13 
AnswerRe: gridview update problem plz help needed ,,, Pin
dream_liner_7e720-Aug-08 4:56
dream_liner_7e720-Aug-08 4:56 
QuestionPassing more than one value between windows Pin
Gretna20-Aug-08 1:57
Gretna20-Aug-08 1:57 

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.