XElement Save Adds Leading Charachters
Dear Experts,XElement objEl = XElement.Load(Filename); objEl = objEl.Element("ACES"); XNamespace xsi = XNamespace.Get(@"http://www.w3.org/2001/XMLSchema-instance"); XNamespace aces =...
View ArticleHow to read Xml-Files with many difference Attribute? (CSharp)
Hello Guys,I've just small questions, how I can just read the "<sprite>sprites\spr_***</sprite>"?<sprites...
View Articledata from database XMLformat
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 The condition how many times execute based on LoadId that many...
View ArticleGet XML elements into List
Hi,I have the following XML:<Axis><Collections><Collection><Client><Name>Client...
View ArticleXSLT: Namespace does not contain any functions
I am trying to do a transformation with the following code (VBA excel 2013):' Load data. source.async = False source.validateOnParse = False source.resolveExternals = True source.setProperty...
View ArticleHow to ident/align closing tag with opening tag
Hi,I am developping a small utility to make changes to vs2005/2008 project files (vcproj) and I would like to know how can I serialize xml with the same indentation (the closing tag is aligned with...
View ArticleChange XML Root NAme
Hello Experts,I have a XML File<?xml version="1.0" standalone="yes"?><NewDataSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
View ArticleHow to serialize differents tag name inside a list
Hi,I have the following xml with a <Files> element that contains either a list of Filter OR a list of File :<Files><Filter Name="Fichiers sources"...
View ArticleProblems in generating XML
I'm using System.xml to generate custom XML. When I generate the xml with a custom header it creates a special character at the beginning of the file. I can only see this character when I open the...
View ArticleSimple schema definition need some help
Here is my XML doc:< ?xml version="1.0" encoding="UTF-8" ?>< !DOCTYPE courses SYSTEM "http://www.school.com" >< courses>< course> < department>Information...
View ArticleWhat do you do when code generation tools fail you?
As anyone who has worked with converting XML schema into usable class libraries knows, sometimes the resulting proxy classes don't capture all of the details in the schema.For example, an attribute...
View ArticleXElement Save Adds Leading Charachters
Dear Experts,XElement objEl =XElement.Load(Filename);objEl.Save(Filename);after the file is saved the saved file have these 3 characters  , ascii vales[239,187,191] why these 3 charachteres are...
View ArticleHave a problem in C# while trying to know if an xml file is valid or not...
Hello. I have a problem while trying to know if an xml file is valid or not according to its schema in a xsd file.It gives me an error that is in my xsd file.It says "Wildcard '##any' allows element...
View ArticleServerXMLHTTP RC4 cipher support under TLS protocol
With the recent POODLE SSL3 vulnerability a number of sites have disabled the SSL 3 protocol. In some cases, they are also left supporting only the RC4 ciphers under TLS. Specifically these ciphers are...
View ArticleContent of a XML signed by OpenSSL
Hi,Currently, I want sign and encrypt a XML file by using the library CryptoAPI in C#. In fact, I want do the same work that OpenSSL with the following command line:openssl smime -sign -in file.xml...
View ArticleHow do I display 2 elements from xml using xslt
I would like to use XSLT to display Conditions and Findings. I would like to check For each Finding or Condition node to determine if there is one or more related parties for the finding or condition...
View ArticleHow to generate class through XSD?
Hi I am getting below error while running below command N:\TaxXml\2014\CRA Schema>XSD.EXE layout-topologie.xsd /c Schema validation warning: Type 'http://www.cra-arc.gc.ca/xmlns/sdt/2-2-0:Number...
View ArticleXSL/XML ThumbGen issue.
ThumbGen is a great little program for creating Info Sheet Pics for movies. I've been working on this for awhile. I get the Error: "Attribute and namespace nodes cannot be added to the parent element...
View ArticleXSL - Attribute and namespace nodes cannot be added to the parent element...
I'm using ThumbGen and I get the Error: "Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has already been added." Here is the XSLT...
View ArticleI have XML Input and Output .I need XSLT for this
Need XSLT Script.Input:<style type="text/css">body { margin: 0 0 0 0; padding:0 0 0 0 } td,div { font-family:Arial;font-size:10pt;vertical-align:top } /* Copyright IBM Corp. 2014 All Rights...
View Article