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

XML Validation - Info required

In the below xml, I have 3 car groups G1, G2, G3. Each car group has a set of car specification.  When a car is assigned to a particular group then it can have only the specs of that group. e.g. G1...

View Article


Remove DTD and XMNS in xml file using XSLT

Hi, I want to DTD and XMLNS in xml file useing xslt. XMl Document:<?xml version="1.0" encoding="utf-8"?><!DOCTYPE Report SYSTEM "https://test.com/test/reports/dtd/tdr_1_11.dtd"><Report...

View Article


How to get value matching node text using Xpath Xdocument in C# NET?

Hi All,How do i get matching node values using xpath?Below is scenario:<xref rid="ch1" ref-type="fig">testing data</xref><xref rid="ch2" ref-type="fig">test</xref><xref...

View Article

Image may be NSFW.
Clik here to view.

XSLT error: Unexpected token '{' in the expression. Converting to XAML/WPF...

 Im having difficulties converting XSLT into a WPF data binding object. Because of the '{' character that I need in the data binding, XSLT ends up choking on it and throwing an error when it tries...

View Article

XSD Documentation

I need to store some configuration data in XML files. Users have to be able to create those XML files through a GUI by simply selecting certain values. In order for them to know what each option means,...

View Article


How to use linq to get values by language?

Hello,   Can anybody help me on this?   I cannot find a way to get values with linq for specific language, as for example something like: var xElementWebSorted =                     from xel in...

View Article

Image may be NSFW.
Clik here to view.

Startindex cannot be less than zero when trying to create a sample xml file...

Using Visual studio pro 2015I have a xsd file and need to generate a xml sample file from it. Ive opened the file with the XML editor. When i Try to "Generate Sample XML", I'm met with the...

View Article

Image may be NSFW.
Clik here to view.

Generate XML from XSD yields an error. What to do next?

I have received an XSD file from a third party, and in there is the definition of XML files I will have to exchange with them.In order to try and test, I have tried to generate sample XML via the XML...

View Article


Can one detect XSL output method value?

An XSLT will have either:<xsl: outputmethod="html" />or<xsl: outputmethod="xml" />(editable by end-user).  Is there any way I can detect/retrieve the value of the method in my XSL code so...

View Article


Add Prefix:"ds" - SignedXml

Hi,I want to Add predfix "DS" in signed Document with "SignedXmL".Is there a way to set the prefix on the Signature of a Signed XML Document (SignedXml class in .Net)?So instead...

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

SQL SSIS Package Performance in a schedule job

I have a complex SQL 2012R2 SSIS Package. When I execute it in Visual Studio IDE takes less than an hour to excite. After deploying it to "Integration Services Catalogs" and setup a step in schedule...

View Article

Generating c# classes from XSD file

Hi  I have downloaded All Files(Offline) from http://stix.mitre.org/language/version1.1.1/ My goal is to convert XSD file to C# class file. when I try "xsd stix_core.xsd /c" , it gives error and...

View Article


Passing dynamic value as Key to XSLT from the XML

I'm applying grouping in the XSLT based on the attribute that comes from the XML.But i dont see any grouping done now. Can anyone please help me on this.. Below is my XSLT and XMLI would like to...

View Article

Help with XML transformation

I need to transform the following XML:<Summary><assets>54</assets><projects>471</projects></Summary>into:<Summary><item name="assets"...

View Article


You need to add XmlChoiceIdentifierAttribute to the 'EvalDate' member.

Hello,I am trying to make a custom XMLserializer for my class.wrote a simple writeXML method for my class and it works.My class has int members.However, when I add a member of type datetime, the...

View Article

Header and footer Issue with dynamically generated Word document

Hi,I'm facing with a tough problem of generating a Word doc with Exact Layout from data pulled from a database.  While I'm able to generate a Word doc from db data on demand leveraging office XML...

View Article


C#-XML Schema

how to remove particular element in a schema file using C# code?i already finded the element in schema need to replace the property or remove the element.

View Article

How the update the value for the second element in xml file?

<ABCD xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.xml.com">    <BCDE>        <Date></Date>...

View Article

Learning Linq2XML - Basic Query frustrations

I'm new to Linq to XML and eager to learn, but getting a little frustrated. I'm also using LinqPad to test out syntax:I have a simple xml file "tasks" with elements "task"  Each "task" contains basic...

View Article
Browsing all 935 articles
Browse latest View live


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