How to get the nodes from a certain parent in XML
HelloHow do you get the child nodes of a parent node with a certain name using the SelectNodes function?I want to compare two files. I have XML files like this:<?xml version="1.0"?><vobject...
View ArticleToken StartElement in state Epilog would result in an invalid XML document...
Hi, I need to serialize class into soap xml stream.When I do xmlSerializer.Serialize I could see following error "Token StartElement in state Epilog would result in an invalid XML document with Soap...
View ArticleHow to Set Button image in XML Correctly - XML in SharePoint
Hello All,Why Cannot I see the image in the Ribbon Button image? I have written XML code for creating a ribbon button in SharePoint 2010 Button and function is executing fine but the image which I...
View ArticleXML file reading - stylesheet issues
HiWhen i try to read the following XML file and add it to a treeview i run into problems with two methods a) text read b) xml readThe issue is the 2nd line, the <?xml-stylesheet IF i remove the...
View ArticleHow to avoid XML_ENTITY_UNDEFINED when using XmlDocument load this piece of Xml?
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><package ><rights>Copyright © 1999...
View ArticleXslCompiledTransform with XmlWriterSettings/XmlWriter outputs msxsl:script...
I am developing an XSLT to transform an xml document to an rtf document. Within the XSLT is an msxsl:script function called GetImageString and is intended to produce a string that represents the given...
View ArticleXML => XSL Transform can't get to work..
This post is a follow on from http://social.msdn.microsoft.com/Forums/en-US/a09289f0-6579-4398-a4d0-e48c46217163/xslt-how-to-select-below-one-level-I am unable to get any output from this sample code,...
View ArticleDeveloper Command Prompt for v2012
Hello everyone !I am trying to use xsd command via Developer command prompt. It works like a charm with few .xsd files specified. Although there is a problem: I need to generate one huge class from...
View ArticleWindows 8.1 Tile XML
Hello,I hope this is the right place to ask this seeing as I'm not a developer. I'm trying to customize the tiles on my start screen, and a how to page from the Microsoft dev center tells me how to do...
View ArticleCount people in XML using C#
I need some help with C# and XML. I'm building a web application and need to present information about number of peope with gender Male in a specific department (How many men in Dep1). This is my...
View ArticleXSL Transform - XML with nested same names
Hi All,I'm having a problem with transforming some XML with nested same names. Sample XML is:<Objects><Object><Property><Property Name="prop1">abcd</Property><Property...
View ArticleXML Function Call - Help
HiI need some help getting across the line calling a function in XSLT ...Now i am using <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">i.e. v1 but can use if v2 if...
View ArticleWhat am I doing wrong here? Trying to parse xml into object using linq
I am trying to parse but its not working:code Windows.Data.Xml.Dom.XmlDocument _serviceResponse = new Windows.Data.Xml.Dom.XmlDocument(); _serviceResponse.LoadXml(response); System.Xml.Linq.XElement...
View Articlereading root attribute in a XML using XPathNavigator
I am a new bie to using XPathNavigator and trying to read attribute present in the root. In the below example, it is AppPlatformVersion. I need to read the value 8.0 using XPathNavigator in...
View ArticleXSLT - Why the extra info in ?
Hi The following is the output from xslt processing (see below). Context vs2010 / .net 4 XSLT processing.=> Why have <br /> br been replaced with the ridiculous unnecessary name space info...
View ArticleXSLT - Issues with special characters
HiIn the example below, the xslt.load in vs2010 reports an error with line 5, Now on paper, this is a valid HTML code !!Unfortunately a google search results in conflicting info.>> I...
View ArticleXpath determination of leaf nodes in a complicated XSD
I have complicated public profile XSDs for which I have to create a mapping from my database schema. Is there a tool that gives the Xpath for the leaf level elements in a complicated nested XSD? My...
View ArticleUsing Xpath to find a user defined keyword
I am using the following code to find a user defined Keyword anywhere in the entire document . XPathDocument dx = new XPathDocument(XMLURL); XPathNavigator nav =...
View ArticleError Messages in App.Config File after changing NET Framework from 4.0...
Hello Guys, Recently i converted the framework of my project to enable Crystal Reports Viewer. As i converted a new file "App.Config" appeared in solution explorer. As i opened the file , the error...
View ArticleReading multiple sentences CDATA from xml node
Hello I need help in reading multiple sentences in xml Node for example i have this xml <description><![CDATA[Create level 1 diagrams.Breakdown DFDs into lower level diagrams.Design DFDs into...
View Article