Library code snippets tagged with xml

Search filter
Tags
Page 1 of 1
  • Applying XSL transformations to XML in .NET

    by Globalking

    A simple demonstration of how to apply an XSL transformation to an XML file and save the output using .NET c#, xml

  • Inserting images into Word documents using XML

    by Jonathan Greensted

    I've seen many, many requests on the Microsoft newsgroups asking how you can insert a picture into a Word document without saving it to the file system first. This example application described in this blog illustrates both methods for inserting a picture firstly using the Word object model (InlineShapes.AddPicture) and secondly using Word's XML support (InsertXML). c#, xml

  • Forms Authentication Against An XML File

    by Orcs Web

    The code demonstrates how to validate a username and password against an XML file. asp.net, xml

  • Customize XML Serialization using IXmlSerializable

    by James Crowley

    Learn how to implement the IXmlSerializable in order to customize serialization of your objects - for instance, serializing a NameValueCollection. .net, xml

  • XML/XSD Schema Validator

    by joe miguel

    To teach how to write XML and Schemas (or DTD's). Some of the schemas language can be difficult to understand. I needed an easy (and free) way to know if my work was correct, if not then exactly what was wrong with it. As implied above, this example will also show you how to use schemas in your own programs. c#, xml

  • How to create XML files

    by Edward Tanguay

    How to generate XML files in PHP using its new_child function. php, xml

  • XBrowse

    by J P

    XBrowse is a small application that allows the user to view and edit XML files as well as extract XSD schema files from the XML document. It is overall a pretty simple program that is based off of a code snippet in the VS.Net IDE. vb.net, xml

  • XML Node Insert

    by Paul Parks

    Someone recently asked on the Undernet #C# channel for help with inserting a block of XML into an existing XML document. After perusing a couple of MSDN articles here's what I came up with. c#, xml

  • How to write to an XML file

    by Edward Tanguay

    Writing to XML files is quite easy in ASP.NET as there are so many objects prepared for you -- you just need the syntax on how to use them. This code shows you how to write a simple member XML file. asp.net, xml

  • How to validate an XML file with an XSD file

    by Edward Tanguay

    Demonstrates an ASP.NET Web Form which tells you if your file is not well-formed and then if it is not valid it lists out the specific reason (like in XMLSpy), quite helpful to find an error in a large XML file as it returns the line number on which the error occurred as well as the tag name. asp.net, xml

  • Serialize and deserialize objects to an XML file

    by Edward Tanguay

    This code shows the simplest way to automatically convert the information in an object to an XML file and back into an object. This is useful if you need to make information available web-server like on your server for other applications to pick it up. asp.net, xml

  • A simple way to read an XML file in Java

    by Kiran Pai

    This is the simplest way to read data from an XML file into a Java program. I have also included some basic error checking, so you can directly cut-paste this code with a few changes ofcourse. java, xml