[Solved] xml-xsd validation debugging

I think that the problem is in the order of the elements, as the NotificationEmail is a last one in your schema. Try to reorder the data, like this: <?xml version=”1.0″ encoding=”UTF-8″?> <ShoretelCosmoConference xmlns=”http://www.m5net.com/mantle/configuration/connectors” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”> <AccountId>13284</AccountId> <StartConference>Host Joins</StartConference> <EndConference>Moderator leaves</EndConference> <WebLoginMode>Name Only</WebLoginMode> <Password /> <OutdialPrompt>true</OutdialPrompt> <NotifyChanges>false</NotifyChanges> <NotificationEmail /> </ShoretelCosmoConference> I use this validation for your … Read more

[Solved] Replace xml node in c#

You mean something like this? XmlDocument xmlDoc = new XmlDocument(); XmlDocument xmlDoc2 = new XmlDocument(); xmlDoc.Load(xmlFile); xmlDoc2.Load(xmlFile2); XmlNode node = xmlDoc.SelectSingleNode(“Root/RuleDTO/RuleID”); XmlNode node2 = xmlDoc2.SelectSingleNode(“Root/RuleDTO[1]/RuleID”); XmlNode node3 = xmlDoc2.SelectSingleNode(“Root/RuleDTO[2]/RuleID”); if (node != null && node2 != null && node3 != null) node3.InnerText = node2.InnerText = node.InnerText; xmlDoc2.Save(xmlFile2); solved Replace xml node in c#

[Solved] XSLT – XSD files – Where to find the schema.xsd file – Please suggest

You can find the XML Schema for Schemas here. However, you probably do not need it unless you’re trying to validate an XSD (as opposed to validating an XML document instance with against an XSD). See also: xmlns, xmlns:xsi, xsi:schemaLocation, and targetNamespace? How to link XML to XSD using schemaLocation or noNamespaceSchemaLocation? Must an XML … Read more

[Solved] Validating xml via xsd

Thanks a lot, problem was – I can’t create xsd with above xml, please help me to create it. Answers were – use another version, it was created and then deleted, encoding is wrong. I found the answer myself, I needed just headings which are usually put above the xml. That much. solved Validating xml … Read more