User Profile

Collapse

Profile Sidebar

Collapse
Jimis
Jimis
Last Activity: Jun 21 '10, 02:37 PM
Joined: Jun 18 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to validate, xml against xsd while the xsd is in a string variable?

    Hello. My objective is to validade a xml file against the xsd whitch is in a string variable.


    /*
    book.xml
    <?xml version="1.0" encoding="utf-8"?>
    <author xmlns='urn:book store-schema' xmlns:xsi='http ://www.w3.org/2001/XMLSchema-instance'>
    <first-name>Herman</first-name>
    <last-name>Melville</last-name>
    </author>
    ...
    See more | Go to post

  • How to validate, on run time, xml against xsd without save the file on local folder?

    I need to validate XMLs files against XSDs. The XML will be downloaded from URL and I will keep it as StremReader or XmlDocument. The XSD will return from DataBase as nvarchar(max). I am prohibited to save the files locally. Has anybody an example how to deal with this situation? I am trying this way but I am getting the XmlException "Root element is missing".


    public void voltaXsd_em_Str eamReader()
    ...
    See more | Go to post
No activity results to display
Show More
Working...