Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Browsing all 935 articles
Browse latest View live

Remove XML that does not validate against XSD.

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New...

View Article


giuntini maurizio

ciao

View Article


Rename node, XSLT 1.0

Hello,I have an XML like this:<Temp_Node_A>data</Temp_Node_A><Temp_Node_B>data</Temp_Node_B> ... etc ...I want it converted to...

View Article

MSXML6.dll in Windows8 breaks legacy apps.

Our application written in VB6 uses DOMDocument40 which is an object exposed in MSXML6.dll in older versions of Windows.The MSXML6.dll with Windows8 is different and does not expose DOMDocument40,...

View Article

Console App Does not return XML Data when Calling an HTTP Webservice

Hi,I've written a C# console application to call a RESTful HTTP web service per below:class Program { static void Main(string[] args) { string URL = "https://sapiqa.overstock.com/api"; string APIMethod...

View Article


xml xsd

WHAT IS THE MEANING OF :<xs:pattern value="[1-9]{1}[0-9]{3}[//][0-9]{2}"/>

View Article

Controling XML Serialization

Hi to all,XML Example into msdn documentation, publicclass Group{ [XmlArrayItem(Type = typeof(Employee)), XmlArrayItem(Type = typeof(Manager))]public Employee[] Employees; }publicclass...

View Article

Xmlreader read end tag problem

Hi guys:   I am a xml file like follow:...

View Article


XML to XML using XSLT

Hi I have a XML script which includes inline schema values. I need to convert into to proper XL data. Available Code,<?xml version="1.0" encoding="UTF-16"?> -<DataSet> -<xs:schema...

View Article


How to create XmlDocument object based on XSD at runtime in c#

Hi,I have multiple XML Schema's basedon which I would like to create XmlDocument object. Unlike creating a XmlDataDocument or DataSet from schema, there seems to be no way to create XmlDocument from...

View Article

Missing prefix "saml:" when Using "Microsoft.IdentityModel.Tokens.Saml2" to...

why can SAML2 produce a SAML where it use the prefix "SAML:" Like in this exemple:   <?xml version="1.0" encoding="utf-8"?>   <saml:Assertion ID="_51bc8a37-0b6d-4e13-81e9-e1778a9b4dd3"...

View Article

XmlDocument.Save() - Automatic indenting?

HiI've added a new Xml-node to my XmlDocument:XmlDocument xml = newXmlDocument();xml.Load("books.xml");XmlNode fragment = xml.CreateDocumentFragment();fragment.InnerXml =...

View Article

Element is not declared validation error post upgrading from .Net v4.5 to...

I understand that there are already many existing threads for the 'element not found' error for XML validation but I'm posting this as my problem is slightly different.My code was running fine until it...

View Article


Howto correctly parse using XElement.Parse() for strings that contain newline...

Hi, I am using Linq to XML related classes for processing of XML that i get from a web server. Using the System.Net.HttpWebRequest and related classes i can successfully get the xml as a string. Now,...

View Article

There is an error in the XML document

Good Morning I'm having trouble deserializing this document and give me the following error:<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.03"> It was not waiting This is the...

View Article


Prevent XML eXternal Entity (XXE) attack during deserialization

We are doing  security analysis of our code using veracode and its showing XXE flaw for below code, specifically where Deserialize() is invoked. How can we prevent serializer from accessing external...

View Article

How to design two root elements with same name

File1:TRAData.xml<GeneralTrainTimeTableList>   <TrainTimeTables>   <TrainTimeTable>...

View Article


The tag is being removed when I update the Inner Text

I am trying to go into a specific node and update the <Sql> tag. I can update the inner text, but then it is leaving off the <Sql> tag which is then causing the Query to not be there. What...

View Article

How to properly cycle a XML Node of "Query"

I need to cycle a XML node called "Query" and pull the InnerText of all <Sql> or <StoreProcedure> notes underneath them.There could be 10 <Sql> or <StoredProcedure> nodes...

View Article

Import string of XML into XML Document

I have a template xml string that I read from a db, I have then to insert xml strings from many transaction records into that document.  Here's a very cut down template..<GovTalkMessage...

View Article
Browsing all 935 articles
Browse latest View live