ARTICLES & TUTORIALS FOR XML DEVELOPMENT: XML & XSL Tutorials, and also XSLT, ADO, XPATH, W3C XML, SVG, ASP, etc
XML Strengths & Weakness’ with DOM, ASP & XSL - Introduction - This article explains in a very simple manner how you can use XML in ASP and VB. Since the inception of XML people many developers have wondered why we need XML... How is it better than HTML? For starters, XML is far more powerful than HTML, and that power resides in the "X" in XML (which stands for "eXtensible"). Rather than providing a set of pre-defined tags, as in the case of HTML, XML specifies the standards with which you can define your own markup languages with their own sets of tags. XML is therefore a meta-markup language, allowing you to define an infinite number of markup languages based upon the standards defined by XML.
Zvon XSLT Reference - Online reference with many examples which can be downloaded for off-line use
Creating Dynamic Web pages with XML/ASP & XML format - Before we get started, lets have a quick show of hands. Hands up all those who like writing the same piece of code more than once.
XSL Transformations - In this chapter, I'm going to start working with the Extensible Styles Language (XSL). XSL has two parts…
ADO, XML and XSLT - Populating Tables and Combo boxes - In the following article we are going to discuss how to dynamically create a drop-down list and a table from a ADO recordset using a generic XSL stylesheet. We are then going to discuss how to add metadata to our XML, so that we can show specific information into our dynamically created table.
Doing XPath and XSLT with Style! - This manuscript is an abridged version of a chapter from the Wrox Press book Visual Basic 6 XML. This is chapter 4 which looks at XPath for querying a document, XSLT for transforming a document, styling a document with Cascading Style Sheets and styling a document by using transformations (XSLT) .
XSLT Reference - This tutorial will show the comprehensive note on xslt reference..
XSLT Programmer's reference - This manuscript is an abridged version of a chapter from the Wrox Press book XSLT Programmer's reference . This is chapter 1 - 'XSLT IN CONTEXT' and is about the purpose of XSLT and the task it was designed to perform. It's about what kind of language it is and how it fits in with all the other technologies that you are likely to use in a typical web-based application.
Data driven XSL - This manuscript is an abridged version of a chapter from the Wrox Press book Professional ASP XML. This is chapter 10 and is a case study that looks at Data-Driven XSL.
XSLT & XPath Tutorial - The TopXML XSLT tutorial introduces you to the basics of XSLT concepts, syntax, and programming…
XSLT Case Conversion Solution - The solution of a problem like case conversion can take many forms, especially when you use a language like XSLT, which gives you the flexibility to give many solutions; each one with a different degree of recursiveness.
An Overview in Combining XML Data With XSL Within ASP - XML (eXtensible Markup Language) and XSL (Extensible Stylesheet Language) have been created from the necessity of having a structured, defined method of exchanging data..
XSL Languages - It started with XSL and ended up with XSLT, XPath, and XSL-FO.
XML - Web-based XML Editing with W3C XML Schema and XSLT - W3C XML Schema (WXS) is an XML language for describing and constraining the content of XML documents. Using WXS to validate XML instance documents has become a common practice. Using a schema we can also go the other way around: create or edit a valid XML instance document using the information in the schema
XML - XPath and XSLT for Validation - The XML developer who needs to validate documents as part of application flow may choose to begin by writing W3C XML Schema for those documents. This is natural enough, but W3C XML Schema is only one part of the validation story. In this article, we will discover a multiple-stage validation process that begins with schema validation, but also uses XPath and XSLT to assert constraints on document content that are too complex or otherwise inappropriate for W3C XML Schema.
XML - Web-based XML Editing with W3C XML Schema and XSLT, Part 2 - In an earlier article we talked about an approach to automatic, form-based GUI generation based on XML Schema -- an approach which uses a single XSLT stylesheet, through which editing XML instance documents is made possible. Open issues remained as how to add new elements to an instance document and how to create an initial instance of our schema.
XML - A Technical Introduction to XML - This introduction to XML presents the Extensible Markup Language at a reasonably technical level for anyone interested in learning more about structured documents. In addition to covering the XML 1.0 Specification, this article outlines related XML specifications, which are evolving. The article is organized in four main sections plus an appendix.
XML - Controlling the DOCTYPE and XML Declaration - XSLT processors usually create result documents that are well-formed XML with a simple XML declaration at the top. They don't have to add that XML declaration, though; it's easy to suppress it. It's also easy to add one and control exactly what it shows, such as an encoding declaration or a declaration of the version of XML being used. Your result document can also include a document type declaration that specifies the DTD to which it conforms, which is necessary for your result document to be a valid XML document. This month we'll see how to add these.
XML - XSLT Recipes for Interacting with XML Data - In last month's column, "The Document is the Database", I sketched out an approach to building a web-based application backed by pure XML (and as a matter of fact, XHTML) data. I've continued to develop the idea, and this month I'll explore some of the XSLT-related recipes that have emerged.
Editing XML with XSL and ASP - This article is a follow up to the Saving HTML Form Data to XML article. If you have not read Saving HTML Form Data to XML, I suggest that you do so now. This article builds upon it. I have received pretty positive feedback on the Saving HTML Form Data to XML sample, but many people wanted to know how to edit the XML data. So, without further ado, here it is: Editing XML with XSL and ASP.
XML - Automated Tree Drawing: XSLT and SVG - Trees are a very basic abstraction used in many computer science areas, including XML. If you're writing a document about tree structures you'll often want to show trees as graphics. This is not a problem for a few trees as they can be hand drawn in some graphics editor. But if you need dozens of trees, you would do well to use a compact text syntax for describing trees that can later be turned into nice pictures. In this article I'll show you how to parse simple text notation by means of XSLT and turn it into SVG graphics.
Searching an XML File with XSL and ASP - This article is the final installment in a series of articles on manipulating XML data with ASP. Before proceding with this article, I recommend that you read Saving HTML Form Data to XML, Editing XML with XSL and ASP, and Appending to XML with ASP.
XML - Schematron 1.5: Looking Under the Hood - Whenever I explain to someone how the evolving ISO standard Schematron can help to address their particular XML data quality issues, I always enjoy the part when they ask, "What software do I need?" Chances are, they already have the necessary software installed: an XSLT processor..
How XSL and XML Help in Java's Conditional Compilation - This article requires that the reader is already familiar with Java and XML. I strongly recommend that you have a solid understanding of Java and XML fundamentals before you read this article. Please, do not consider this to be a study guide; this shows how a few technologies could be used with each other.
XSLT / XML / C# - In this source code I am going to show how to apply xslt to data coming from a database in xml format.
Transforming XML with XSL using Sablotron - In my last article I covered the use of the expat functions available to PHP for parsing XML documents using the SAX method. The sample code was a class that read the XML document and generated the HTML to present the data in a nice table. This example was far from perfect due to the fact that the presentation of the data was not separate from the class code that had to parse the XML document. This meant that a slight modification to the HTML generated by the class could break the actual parsing functionality of the class.
Using XSLT and .NET to Manipulate XML Files - XML Stylesheet Transformations (XSLT) is defined as a language for transforming source XML documents into another document formats using XML Path Language (XPath) as a query language. This is particularly useful when incoming or outgoing XML documents do not match the document type expected by the target system.
Graphs and charts using XML,XSL and VML in IE. - This is sample tool which i have written to draw graphs and charts in which data comes from XML and rendered using XSL with VML tags.
Advanced UI Design Using XML and XSL - Part 3: Folder Tree Administration - Welcome to Advanced UI Design Using XML and XSL. Each article in my series will demonstrate the creation of a specific user interface (UI) component using eXtensible Markup Language (XML) and eXtensible Stylesheet Language (XSL)
Advanced UI Design Using XML and XSL - Part 2: Custom Context Menu Creation - Welcome to Advanced UI Design Using XML and XSL. Each article in my series will demonstrate the creation of a specific user interface (UI) component using eXtensible Markup Language (XML) and eXtensible Stylesheet Language (XSL).
Advanced UI Design Using XML and XSL - Part 1: Folder Tree Creation - Welcome to Advanced UI Design Using XML and XSL. Each article in my series will demonstrate the creation of a specific user interface (UI) component using eXtensible Markup Language (XML) and eXtensible Stylesheet Language (XSL). This article explains how to create a folder tree of unlimited depth by using XML and XSL, the style-sheet language for XML...
Generic XSL for microsoft generated XML - This generic code finds out how many XML field records are there and prints them in tabular column with parameterised pagination.It also contains a query tab on which user can perform search operation.
Discover the Wonders of XSLT: Advanced Techniques - The first two parts (Part One and Part Two) have introduced the most fundamental XSLT instructions…
Xml - XSLT Reflection - Many modern programming languages contain a special interface called reflection. Reflection can be used to programmatically read, modifying, and create code in a particular language. Because the main purpose of XSLT is to transform XML documents, and because a XSLT stylesheet is expressed in the XML syntax, we can use XSLT to manipulate stylesheets themselves. In the following article I'm going to show you how useful XSLT reflection can be.
Converting XML to HTML Using Sun's Java API for XML Processing and Microsoft's MSXML 3.0 API - This article describes two solutions that I have employed in applications to generate custom reports. My solutions convert XML data to HTML using XSL Transformations (XSLT). XML is an eXtensible Markup Language that is used as a data-exchange format between applications. XSL is an eXtensible Stylesheet Language that is used to present and lay out XML data in a browser. XSLT is a programming language that facilitates the transformation of XML data to its HTML equivalent before it is displayed in a browser.
XML - Understanding XSL - With that background, let's take a closer look at the style sheet in Example 2. XSL contains many more features than can be covered in an article of this size. We'll consider just the features needed to write a simple style sheet for the sample XML document in Example 1.
Using PHP and XSL to Transform XML into Web Content - This tutorial is for developers who have been looking for ways to use XML to manage web content, and XSL to style and format that content. You should be familiar with XML, and having some experience with XSL would be helpful.
XML - Grouping With XSLT 2.0 - Relational databases have always offered a feature known as grouping, that is, sorting a collection of records on a field or combination of fields and then treating each subcollection that has the same value in that sort key as a unit. For example, if the following XML document was stored in a relational database table, grouping the records by project value would let us print the records with a subhead for each project name at the beginning of that project's group of records, and it would let us find statistics such as the average or total size of the files in each project.
Manipulate XML Data Easily with the XPath and XSLT APIs in the .NET Framework - XPath is emerging as a universal query language. With XPath, you can identify and process a group of related nodes in XML-based data sources. XPath provides an infrastructure that is integral to XML support in the .NET Framework…
XML - Using the W3C XSLT Specification - The W3C's XSLT Recommendation (available at http://www.w3.org/TR/xslt) is a specification describing the XSLT language and the responsibilities of XSLT processors..
15 seconds - Creating an In-Memory Database Using XML and XPath -- Part 1 - Many articles have been written about how to send an Extensible Markup Language (XML) file and an associated Extensible Stylesheet Language (XSL) file to Web clients to reduce processing load on the server.
XML - An Introduction to Schematron - The Schematron schema language differs from most other XML schema languages in that it is a rule-based language that uses path expressions instead of grammars. This means that instead of creating a grammar for an XML document, a Schematron schema makes assertions applied to a specific context within the document. If the assertion fails, a diagnostic message that is supplied by the author of the schema can be displayed.
XML - Writing Your Own Functions in XSLT 2.0 - Most XSLT 1.0 processors, particularly the ones written in Java, let you write extension functions in the processor's host language, link them in, and then call those functions from stylesheets. The XSLT 1.0 spec spells out specific ways to check whether a particular extension function is available and how to recover gracefully if not. In the September 2001 "Transforming XML" column, I presented examples of extension elements and functions.
Distributing Server Load to the Client with XML and XSL - Your Web server has a tough job. It must connect to databases, retrieve data, process it, format it into HTML, and then send it to the client. Increase the life of your server by reducing the load on it using XML and XSL. The eXtensible Stylesheet Language (or XML) is a style-sheet format for XML documents that is the counterpart to the Cascading Style Sheet (CSS) in HTML. By sending the XML and XSL to the client, and having the client create the HTML for you, your server can spend time doing other things, like processing credit card orders!
XML - Comparing XSL and CSS - XSL and Cascading Style Sheets (CSS) have similar goals, and it's useful to compare them. XSL is more powerful than CSS in many ways, but it's also more complex.
XML - Fast XSLT - This article reviews the birth and development of the promising compiled-XSLT engine, Apache XSLTC, and the fierce competition among developers of XSLT engines to be the performance leader.
XML - New and Improved String Handling - In my June column last year, I discussed XSLT 1.0 techniques for comparing two strings for equality and doing the equivalent of a "search and replace" on your source document. XSLT 2.0 makes both of these so much easier that describing the new techniques won't quite fill up a column, so I'll also describe some 1.0 and 2.0 functions for concatenating strings. Notice that I say "1.0" and "2.0" without saying "XSLT"; that's because these are actually XPath functions available to XQuery users as well as XSLT 2.0 users. The examples we'll look at demonstrate what they bring to XSLT development.
XML - Transclusion with XSLT 2.0 - Transclusion is a hypertext concept that began in the work of Ted Nelson, who coined the term "hypertext". Roughly speaking, transclusion is the inclusion of a resource, or part of a resource, potentially from anywhere in the world, within a new one. For example, the HTML img element is a form of transclusion. Nelson envisioned dynamic compound documents consisting entirely of pointers to pieces of other documents, with the compound ones automatically reflecting updates to the transcluded pieces. As he wrote in his book "Literary Machines" 93.1: "Transclusion will be a fundamental service of tomorrow's literary computers, and a property of the documents they will supply. Transclusion means that part of a document may be in several places -- in other documents beside the original -- without actually being copied there.
XML - Understanding the node-set() Function - The XSLT language is capable of achieving many tasks, but some surprisingly trivial requirements, such as calculating the total amount of an invoice, cannot be expressed in a straightforward way. This article describes how you can get round this by using a very powerful extension function in your stylesheets: the node-set() function.
XML - XSLT 2 and Delimited Lists - As part of his work as the editor of the XSLT 2.0 specification, Michael Kay has been prototyping the new features of XSLT 2.0 and XPath 2.0 in a separate development branch of his well-known Saxon XSLT processor. As I write this, his most recent prototype release is 7.4. (His recommended stable implementation of XSLT 1.0 is at release 6.5.2; see the project homepage for details on the progress of these two branches.) 7.4 lets us play with many of XSLT 2.0's new features.
XML - Dirty XSLT Output - have observed "dirty output" applying different template rules that look equivalent to me. The source document is..
XML - Sorting in XSLT - XSLT's xsl:sort instruction lets you sort a group of similar elements. Attributes for this element let you add details about how you want the sort done -- for example, you can sort using alphabetic or numeric ordering, sort on multiple keys, and reverse the sort order.
XML - Comparing and Replacing Strings - In last month's column we looked at XSLT techniques for splitting up strings of text, for checking whether strings had certain substrings, and for normalizing white space out of an element. This month we'll learn more ways to gain control over strings in your source document, as we see how to compare strings for equality and what kind of search-and-replace operations are possible in XSLT.
XML - What's New in XSLT 2.0 - In my previous article, I went through a brief overview of some of the features that XPath 2.0 offers over and above XPath 1.0. We saw that XPath 2.0 represents a significant increase in functionality for XSLT users. In this article, we'll take a look at some of the new features specific to XSLT 2.0, as outlined in the latest working draft. Again, this assumes that you are familiar with the basics of XSLT/XPath 1.0.
Developer - Spinning Your Code with XSLT and JSF in Cocoon - In this article, we will explore a sophisticated and flexible approach to user-interface building for Web applications. We will explore the combination of the XML processing language XSL with the newly released JavaServer Faces (JSF) standard API, using the Apache Cocoon framework as an enabler for both.
Getting Started with Java JAXP and XSL Transformations (XSLT) - This is the second lesson in a series designed to initially help you understand how to use JAXP, and to eventually help you understand how to use the Java WSDP.
Discover the Wonders of XSLT: Xpaths - This is Part 2 of the developer.com introduction to XSLT. The first part was about tools and the basic syntax. I recommend you read it first.
Implementing Paging and XSLT Extensions Using XSLT in .NET - Part 1 - When you have to display a large number of records, the common practice is to use data paging so the information can be presented in a more user-friendly manner. There are many solutions one can use to implement such a system, and each of them has its own advantages and disadvantages. One of the excellent ways of implementing this solution is using XML and XSL. In this article, I will outline an approach in which we will use the XSLT support provided by .NET to create this solution...