Error "Unable to generate a temporary class (result=1). error CS0030: Cannot...
I have an XML file, I use XSD.exe to create a class Account. When I tried to send a message of type class Account to MSMQ, I am getting this error:"Unable to generate a temporary class (result=1)....
View ArticleLinq - How to Find Values
Hi I have a XML like the following and want to search/get Value based on model and prod.Can anyone help me?Thanks.<Limits> <System model="001"> <Limit prod="a123" value="10" />...
View ArticleControlling display width when applying a stylesheet to an xml file
I'm writing my first XSLT for a rather complicated XML. My problem is this. What I'd like to do is limit the width of the display to the width of the browser window. The XSLT is still rather simple,...
View ArticleHow to modify XML Encoding format to UTF-8
I am in Visual Studio 2012 using vb.net to serialize a message to XML. Everything looks fine except that the encoding is showing Windows-1252 in the XML file and I want it to be UTF-8. I have the...
View ArticleEmbed video data in XML file
I wanted to embed video in a xml file and associate it with other pieces of data so I could pull it out, play it, and show the associated data and sync with a centralized source. Is this a typical...
View ArticleWhy does this code cause xsd.exe error, “You must implement a default...
Hello MSDN users, Iam trying to create an XSD from a dll that i created, but when i try to generate the XSD i get the following error message:You must implement a default accessor on...
View ArticleAsked can't count on XMLDocument.
<English><id>1</id><title>Day of the dead audio</title><level>Level 1</level><foder>Day of the dead lessons</foder><part>1.Original...
View ArticleXML Error in the Setup project file with extension .InstallState
I recently upgraded from VS 2010 to VS 2013. I also installed the new Microsoft Visual Studio Installer that was able to compile my .vdproj ( setup project file). But there is this file in the setup...
View ArticleIssue with C# code generation for an xsd using the utility xsd.exe version...
We are trying to create a C# class file from an xsd using the xsd.exe utility version 4.0.3 .The xsd nested elements are not getting populated ...please provide your suggestions!!
View Articlehow to delete the whole XMLNode
hi my code is like that: XmlNodeList nodeList = root.SelectNodes("//item[@key='" + Key + "']"); if (nodeList.Count > 1) { foreach...
View ArticleGiven XElement item how can I find its XPath
Hi there, I am facing this simple problem I cannot immediately crack. I search thru an xml file, find a few nodes I need and collect the objects (XElement(s)). How can I get the XPath to each of them?...
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 ArticleReading XML with a Namespace via XElement
I'm working on an application that includes an RSS reader, and came across something I don't know how to handle. The XML file is formed like so:<?xml version="1.0"...
View ArticleXSLT to remove lines in XML
When the count is zero, i want to remove only the zero-count lines and copy all other lines as is. For exampleXML input file<Store id = "34343>5</Store><Store...
View ArticleHow to load a subset of data from DataGridView back to XmlDocument
I have an xml file that I want users to be able to edit via a DataGridView. I am loading just one of the many nodes from the xml file into the DataGridView (including it's child nodes). Can someone...
View ArticleMS Powerpoint
I got an Idea for MS Powerpoint and need to post it to appropriate Microsoft site, could some one help with the link.
View ArticleTo Serialize XML document from XSD generated class [Continuity care of document]
Hi All,I have some problem in my project and I need your help and guidance.Now we have successfully generated the Object Class from CCD schema file. [ccd.xsd]We have values in our database table, which...
View ArticleMissing 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 ArticleNo value given for one or more required parameters..'
I am new to XML coding. we have some builds which use the xml files and i have no idea why its failing. review_netnew_logs: [echo] 1) while: 'Executing Merged SQL Files...' [echo] @line: 38,...
View Articledisplay data from database XMLformat using wcf service?
I am getting data from database using wcf service, At the time of displaying data in browser not displaying correct format this is my code [DataContract] public class StopUpdate { [DataMember] public...
View Article