Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Browsing all 935 articles
Browse latest View live

Replace Bookmars looses formatting in Word 2010

Helloi'm replacing bookmark in a word 2010 file but it loses formatting (like indentation, numbering, lists etc)Maybe i'm doing wrong in my code.This is the code of function i use to replace bookmark :...

View Article


Problem using XmlTextWriter export to excel

Hi everybody,   Having problem getting the desired result of xml file. Can you guys help me with this? The function is exporting data from database to an excel file, and then importing the changes in...

View Article


Converting Excel file into XML format

Hi,My task is to convert the Excel file into XML. I used external Schema file to create XLM mappings in excel andsaved as with XML data format. I was able to save the file without any errors, I am...

View Article

XSLT and non-well formed XML file

All,I am getting some "XML" feeds from some old lab equipment, however the XML isn't well formed.  Really it isn't even XML it is just a formatted text file.  So I will get a feed like the...

View Article

XML Parsing Error: not well-formed (C# Visual Studio 2013)

I am working on a project in visual studio that imports a csv, and exports an xml file. I'd like to be able to get the code to work as xml and html, and view it in a browser. I am getting this error...

View Article


[UNSOLVED] Event Log Custom XML Query Filtering Help

I've looked at a few different posts but I must be missing something because what I'm constructing isn't working.Here's the XML code of an example event:- <Event...

View Article

Convert GMT to EST; HELP!

So, I have an assignment for my coding class and can't seem to figure out why it's outputting the wrong time! I think it has something to do with the time zones...no, i KNOW it has to do with that, but...

View Article

Why I cannot use the following code inside VBA in MS word? What should I do...

PrivateFunction CreateDOM()Dim domSet dom = New DOMDocument60 dom.async = False dom.validateOnParse = False dom.resolveExternals = False dom.preserveWhiteSpace = TrueSet CreateDOM =...

View Article


Access XMLDocument returned from a Web Service

BACKGROUND : I have xmldocument which has been returned from Land Registry Business Gateway Web Services. I can successfully access all the returned fields via the Added Service Reference. QUESTION:...

View Article


XslCompiledTransform.Load takes 15 seconds on first run

Hello, I'm loading XSL from an XML document using this code (XSL has embedded data):public void SetHtmlSourceFromXmlDocument(XmlDocument xmlDocument) { var transform = new XslCompiledTransform();...

View Article

Can't Parse in Asp xml file from xmltextwriter.

I don't know a lot about XML, so hang in there please.Scenario:A XML file is written in a webservice and returns it to an asp page for parsing.Returned in the xml.responsetext:<?xml version="1.0"...

View Article

Create XML document nodes

Hi all,I am trying to create an XML document that looks like...

View Article

Image may be NSFW.
Clik here to view.

Signature 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 Article


SignedXml - Signing xml performing custom transform with algorithm...

Hello, fellow colleagues!I'm trying to sign an XML SOAP request document using SignedXml via detached signature.In order to pass signature validation I also need to perform two reference...

View Article

Image may be NSFW.
Clik here to view.

XML Reader nullable nodes

           Querie for C# forum.   Now posted on XML forum.  Any help welcomed...I am updating a C# program that uses xmlreader /xmlwrite to serialise the file.I have a lidtype that is nullable and it...

View Article


Create repeating elements in xml document

Good day,I have a problem with a project I am busy with. I am creating an XML document from a predefined schema. I am able to this with no problem for one level using this method:{...

View Article

Support of XML schema 1.1 in .NET

As far as I've seen, .NET does not support XML schema 1.1 (only 1.0), for instance for the validating readers.There are quite a few nice features in XSD 1.1 and I would like to use them. Are there any...

View Article


XSD /l:cs /class adac_410.xsd adac_sewer.xsd Multiple files

To XML ForumThis is a new question related to my initial trial to understand how to get a nullable class structure to work in the XMLreader.I am trying to generate classes from xsd files and in the...

View Article

XElement parser does not ignore entity tokens in attribute value

I have sample XML file:<?xml version="1.0" encoding="UTF-8"?><root><name id="show_file.php?fid=120983&action=download" /></root>I use simple C# console application to dump...

View Article

DataContractSerializer and xsd classes

Hello everyone,I have this very devious class hierarchy that is supposed to be saved as an XML file. I found that the DataContractSerializer is quite suitable for this objects (or at least as suitable...

View Article
Browsing all 935 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>