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

Xml serializing hidden properties of derived classes

hi,1) I need to serialize a base and a subclass.2) Base class has the property "AnEnum" of type enum in namespace "Namespace1"namespace Namespace1 { using NS2=Namespace2; using...

View Article


How to restrict XSD tag value to be ordered like 1,2,3…to check XML

Hi,How to restrict XSD tag value to be ordered like 1,2,3…to check XML.Like...<person>        <jobid>1</jobid>        <jobid>2</jobid>...

View Article


2 parents node per 1 child node in xml?

when i create a xml file from this relationship tabes, i get a problem. I cannot create Orderdetails table because it is a child from 2 parent. example, original Oderdetails table:OrderID  ProductID...

View Article

Image may be NSFW.
Clik here to view.

Generic XSLT transformation code

I've got quite some challenge in here... Is it possible to have an XSL code that will apply to whatever hierarchy of XML, to transform it into nested HTML list?Example...

View Article

Keeping line breaks when writing to a file

I have an XML file created using XDocument from System.Xml.Linq<?xml version="1.0" encoding="utf-8"?><MyCommands version="014"><Commands><Global><Command name="command...

View Article


Image may be NSFW.
Clik here to view.

Creating object array from a xml tag

Hi,I have simple XML...<Change> <Product>  <Type>Change</Type>   <ID  Key="4367"/>   <Field Name="Field1">Caffeine-free</Field>   <Field...

View Article

Converting Open XPS files (.oxps) to bitma;ps

In Visual Studio 2012 we use System.Windows.Xps.Packaging.XpsDocument to convert XPS documents to bitmap images.  I have not found a way to convert the newer .oxps files to bitmap images.  Is there a...

View Article

XSLT group by attribute entries from list

I need somehow to group some info. This is the xml. I need to use xsl code  in order to group it properly <XMLLines><XMLLINE><Customer>1</Customer><Day> Monday...

View Article


Image may be NSFW.
Clik here to view.

Xml.Linq query runs OK using DataContext -- but the same Xml.Linq query not...

In one sample program (VS2012) I create a DataContext against the Nothwind DB <Customers> table, and I can run the following Xml.Linq query just fine.  But in the next program I create a...

View Article


Issues with prefix in serialization

How do i add prefix to XmlArrayItemAttribute My input and output xml should look like this    <TelephoneNumbers xmlns:d5p1="somenamespace">      <d5p1:PersonTelephone>...

View Article

Why are spaces so hard ... XSLT Transforming..

HiI have some XSLT doing something like <xsl:value-of select="myObj:OurStringFunc(@testName, 'padright', 30)" />I can correctly get the custom function to work HOWEVER i can't get it to display...

View Article

Extract Value from XML Document

Hello all I am having a rough time extracting a node value from an XML Document.  I feel like I am close, but cannot quite figure it out so I have resorted to the forums.  I am used to dealing with SQL...

View Article

xslt Transformation

Hi, I have the following xml <?xml version="1.0" standalone="yes"?><dsValidation...

View Article


Get value from different document

Hi,I've the below piece of XML.<toc-div><title>CHAPTER 1 INTRODUCTION</title><subtitle><content-stylefont-style="italic">David...

View Article

I don't have a LinqToXsdSchema build option (VS2012) -- is there a...

I'm working on a sample project that uses an xml file and an xsd file -- then I will use Linq to read the xml file. I'm trying to build the xsd but I don't have a LinqToXsdSchema build option (I'm...

View Article


What is the best software for viewing and editing .xml Files

Would prefer a freebie but any reply is appreciated...

View Article

how to make xml file using xsd schema

hi,        I have an xsd schema n want to generate an xml file using c# code.plz help me out...asapthanks

View Article


xml namespace resolver for Visio 2013 XML

Visio 2013 creates an XML file like:<?xml version='1.0' encoding='utf-8' ?><PageContents xml:space='preserve'       xmlns='http://schemas.microsoft.com/office/visio/2012/main'...

View Article

C# - Parsing XML - Best Approach

First time C# XML user VS 2010 - what would be the best approach to reading this "simple" XML file<?xml version="1.0" encoding="utf-8" standalone="yes"?><ProblemReport>  <Project...

View Article

How to extract Attributes along with their names and datatypes from an XSD file.

Hi All,I have having trouble extracting attributes along with their names and datatypes and datatype length from XSD file.My XSD file is of the following structure. There are basically 3 columns in...

View Article
Browsing all 935 articles
Browse latest View live


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