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

Web service framework for .Net

Hi I have been asked to review and select the best Web service framework for .Net based on criteria such as cost, ease of coding, security, and selection of protocols (SOAP, REST, OData etc.). The...

View Article


XSLCompiledTransform error

Hi!I've got an InvalidProgramException occuring when transforming an xml file using XSLCompiledTransform.Transform method. I'm using a large xslt and xml input file.The same transformation works fine...

View Article


ServiceStack as a web service framework for .Net

I have been asked to review ServiceStack as a web service framework for .Net based on criteria such as cost, ease of coding, security, test-ability and selection of protocols (SOAP, REST etc.). We...

View Article

XSLT question

For this XSLT fragment <xsl:template match = "/" >What does the value of the match attribute select?OPTIONS...All descendants of the root nodeThe root node  The root node and all its descendants

View Article

Bug in Xdocument.Validate

I am trying to validate and XML Document against my XSD, which specifies a Boolean attribute with a fixed value.  The validation fails to catch if the attribute value does not match the fixed value.The...

View Article


xmlParseCharRef: invalid xmlChar value 25

I have an xml webservice that I am returning an object which is built based on attributes from a database table. In one of the columns, companyname there is an invalid character. When I invoke the...

View Article

Adding the Parent id to Serialization as Object class

I have the following XML file which I am using the VSC#(windows forms) code to save it as a class:   <Steps >  <Step id ="1" Name="S1">    <Step id ="2" Name="S11">      <Step id...

View Article

XmlSerialization and the constructor assignment

I have a complex XML data and i am deserializing it into the object named "Customer" by using XmlSerializer.    public partial class StringType    {      private string valueField;      private string...

View Article


How to use ReadXML to Extract Supervisor Information

Hi, I am new to use ReadXML in C#.  I have partial code below which will read the XML data from XDocument then import them into SQL dataset.  I use XDocSupv.CreateReader method to convert XML format...

View Article


How to adding and removing a key in xsd schema

How to add a key  and removing a key in XSD using c#    //XmlSchemaKey element_key = new XmlSchemaKey(); // added dynamically in save button . //element_key.Name = Schema_Name; //element_key.Selector =...

View Article

from two dimensional array to XML

Hi all, I have a question is it possible to write an XML file directly from a two dimensional array? My array looks like this:Id False Chapter False Count True Materialcosts True Materialcosts_Total...

View Article

Is XSLT 2.0 supported in .NET ?

Hello,I am writing this post because I've seen many questions regarding XSLT 2.0 in .NET  in the forum, sometimes people ask for many questions in XSLT for instance xsl grouping, retrieving the current...

View Article

XQuery needed

catalog.xml<catalog>  <product dept="WMN">    <number>557</number>    <name language="en">Fleece Pullover</name>    <colorChoices>navy...

View Article


How to Parse An XML Document Using Multiple Name Spaces

Here is a snippet of my XML file it contains person information and address information:<?xml version="1.0" encoding="UTF-8"?><!--Sex Offender Data file Generated by FDLE...

View Article

xPath Help

<root>< CUSIP_XML>  <McoOrgId>600024535</McoOrgId>  <CUSIP>794743GU2</CUSIP>  <MaturityDate>19851201</MaturityDate>  <SalesDescription>General...

View Article


Issue in adding Japanese character in xml using MSXML

HelloI am using MSXML for the creation of xml file. I am using UTF-8 encoding scheme. I am getting garbage value in textNode if value of textNode is in Japanese.I want this...

View Article

Data Scrubbing Utility Performance

I have written a utility that pulls data from each table in a database, loops through the data and cleanses it of NPI/PII information and then saves the cleansed data to .sql files in the form of...

View Article


Remove XMLNS attribute

Hello ,Is there a way to remove XMLNS attribute from the root node.I have read in lot of artilces that it cannot be removed as namespace has been attached to all the other elements . But In my case i...

View Article

parse XML file

I have to read an xml file and push the data into a SharePoint list.  I know how to push data to a SharePoint list, but this is a question on reading the XML file.The xml file looks like this:<?xml...

View Article

xelement error - This operation would create an incorrectly structured document.

Hi, I am trying to iterate the article and all its descendent's nodes, but i am currently getting exception on the line of code:exception --> This operation would create an incorrectly structured...

View Article
Browsing all 935 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>