How to get attribute value based on input attribute value. Please help its...
i have one xml file which have below data, i need to give Name attribute and need to get Heirarchy attribute value.please give me c# code for this(linq to xml or other approach)for example:input:...
View ArticleHow to add document protection element in existing xml document by using C#...
Hi All,I want to add text to existing xml element by using C#The below am providing xml document please have a look.<?xml version="1.0" encoding="UTF-8" standalone="yes"?><?mso-application...
View ArticleClass and XSD generation
Hi, could anyone help me to generate sample XSD and Class for the below XML. I have converted XML to XSD and while converting XSD to class, i am receiving error namespace not found or element...
View ArticleXSLT Newline handling quirks - Text mode
HiYou can see below a relatively simple XSL file and the output produced.Notice in the output, an extra line at line 1 and line 14>> So my question is why the lack of consistency ?e.g. Text in...
View ArticleCopying a node using xslt
Hello,I'm trying to use xslt to perform a simple map. First I define a variable pointing to the node which I want to copy and then use "xsl:copy-of select=$var"Ex. <xsl:variable name="myVar1"...
View ArticleConvert XML to form with curly braces
Hello ! Is there any mechanism to represent XML as curly braces statement . How achieve this using C# ? For example, I have such...
View ArticleDifferent behaviour of XSD validation on Windows8
Good morning, I found that XSD validation on Windows8 (probably because of different MSXML6 version?) behaves differently from previous OSes with respect to fixed attributes defined in XSD.If you...
View ArticleInstallation of MSXML
Hi,In my application in some places I am calling "Msxml2.DOMDocument.4.0" and in some places I am calling Msxml2.DOMDocument.6.0. Which MSXML version I need to install in my system to handle both or by...
View ArticleGrouping Records based on attributes
Hello,This is the XML I have<UNIT UNITNUMBER="6630 " UNITNAME="CommissaryOne"> <ROUTE Vehicle="6630101" RouteDate="06/20/2014" > <STOP Ticket="075040-20140620"...
View ArticleNeed the download for ObjectXPathNavigator or similar library
Hi,I am looking for a library to perform complex object querying. I have an Excel RTD that retrieves a complex object but users need the ability to query its object graph for certain properties etc....
View ArticleHow do I convert a string variable date to a date?
I have a xslt which is using a xml document. The xml document has a variable dateServed="06/20/2014". When I run the xslt, I get error FORG0001: Cannot conver xs:string with value '06/20/2014' to...
View ArticleWhen/if XSLT 2.0+ will be supported in .NET
Could someone give an idea when XSLT 2.0+ is going to be supported? I've looked at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2927822&SiteID=1 in which I found this comment: Stan Kitsis...
View ArticleBizTalk schema document auto generation
Hello All,I need to document XML schema in excel sheet with following details Node-Name, max occur, min occur, IsrecordNode, datatype, maxlength, minlengthThis will be shared with MainFrame team to...
View Articleretrive some information from my xml document
i have a xml file. i have loaded the content of file to a text box1. then i have matched a tagname fron it and extracted the content to text box2. now i want to work with textbox2 text but there are...
View ArticleDoes Microsoft have similar solution as XSLT?
Hi thereDoes Microsoft have its own similar solution to XSLT stylesheet? I mean they support XSLT version 1.0 in Windows server but is there any other "Windows-XML-Stylesheet-technic" which could be...
View ArticleXLST variable in C# code within XSLT
Hi,I have a questionI am using XSLT 1.0 and I have a variable like this-<xsl:variable name="colC" select="'2,3,5'"/>And I have a C# code within the XSLT like<msxsl:script language="C#"...
View ArticleSignature namespace prefix
Hi,i am signing XMLs:....code....MySignature.ComputeSignature()MyXmlElement=MySignature.GetXml() and i obtain the famous "<Signature xmlns=http://www.w3.org/2000/09/xmldsig#>" etc... How can i...
View ArticleAdding an Attribute to an existing XElement
Hi all,I have a document that has a large number of element nodes that I need to add an attribute to. I have found documentation that shows how to add a elements to an exisiting document and remove an...
View ArticleMSXML 4.0 SP3 Parser
Windows 7 Professional SP1 64 BitI have several software packages that run MSXML 4.0 SP3 installs as part of their installation. They all fail. So I downloaded "MSXML 4.0 SP3 Parser". I installed...
View Articleexternal css not getting applied in html email [XSLT to html creation ]
I am generating an html from xslt then sending that html to email In my email css mentioned in the html not getting applied when i view email. My xslt is<?xml version="1.0"...
View Article