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 ArticleXSLCompiledTransform 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 ArticleServiceStack 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 ArticleXSLT 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 ArticleBug 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 ArticlexmlParseCharRef: 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 ArticleAdding 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 ArticleXmlSerialization 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 ArticleHow 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 ArticleHow 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 Articlefrom 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 ArticleIs 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 ArticleXQuery needed
catalog.xml<catalog> <product dept="WMN"> <number>557</number> <name language="en">Fleece Pullover</name> <colorChoices>navy...
View ArticleHow 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 ArticlexPath Help
<root>< CUSIP_XML> <McoOrgId>600024535</McoOrgId> <CUSIP>794743GU2</CUSIP> <MaturityDate>19851201</MaturityDate> <SalesDescription>General...
View ArticleIssue 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 ArticleData 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 ArticleRemove 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 Articleparse 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 Articlexelement 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