Description:
Microsoft eXtensible Markup Language newsgroup.
|
|
|
XDocument.Validate fails to reject invalid document?
|
| |
I'm using LINQ to XML and trying to validate an XDocument object against an XSD. I have a (NUnit) test that intends to demo the validator rejecting an invalid document; however it appears to accept it without complaint!. I'm using VS2010B2 (but targetting Framework 3.5) The XSD file is an embedded resource and I'm using a custom resolver to... more »
|
|
Regd XSD Files
|
| |
Hi, I was just analyzing tools that generate XSD file from XML files. I find lot of tools in internet. 1. XSD.exe that comes with Visual Studio 2. Stylus Studio's XSD file generator 3. XSD Interference tool from Microsoft 4. XMLFox Professional 5. Liquid XML Studio (XML Editor reverse engineering)... more »
|
|
XMLDOM apprentice
|
| |
Hi. I am using XMLDOM with PL/SQL. I have successfully developed a function that creates the XML EG. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <Root > ... ... ... </Root> But the <root> needs to have something like the following - <Root xmlns="[link]"... more »
|
|
Issue validating xml against xsd with xsd:any
|
| |
Hello, I am trying to use xsd:any to allow arbitrary unqualified XML code below an element. However, doing so leads to validation failure (sample xml, xsd and error see below). What am I doing wrong? Any help would be greatly appreciated. Thanks dpomt person.xsd: <?xml version="1.0" encoding="utf-8" ?>... more »
|
|
Return and display a custom class
|
| |
Hi, My web method returns a custom class (business object). The issue is that when I test the web method using a web browser, the returned webpage does not show the properties of the class except for the following (empty tag). <DirectorySearchResult xmlns:xsi="[link]"... more »
|
|
Problem reading XML
|
| |
I've just started playing with XML and have come across a problem with a simple program I wrote, I get an XmlException "Root element is missing" at the ReadXml line. Can anyone tell me what I have done wrong? CODE ============================== ============================== ======= var post = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" +... more »
|
|
createProcessingInstruction
|
| |
Using this VB code: Set oProcInstr = oDocOut.createProcessingInstru ction("xml", "version=""1.0""") oDocOut.insertBefore oProcInstr, oDocOut.childNodes.Item(0) I can achieve this result in my XML document <?xml version="1.0" ?> But, how would I achieve this result? <?xml version="1.0" encoding="UTF-8"?>... more »
|
|
|