Home arrow XML arrow Page 3 - Understanding XSLT transformations: Your Own `XML Transformation Utility`
XML

Understanding XSLT transformations: Your Own `XML Transformation Utility`


This article mainly concentrates on the basics of transforming XML documents, along with developing your own utility to transform XML to XSLT using Visual Studio 2005.

Author Info:
By: Jagadish Chaterjee
Rating: 5 stars5 stars5 stars5 stars5 stars / 7
December 28, 2005
TABLE OF CONTENTS:
  1. · Understanding XSLT transformations: Your Own `XML Transformation Utility`
  2. · Understanding the XML and XSLT
  3. · “XML transformation utility,” is it really necessary?
  4. · Developing your own XML transformation utility
  5. · Understanding the XML transformation utility
  6. · Testing further with different types of XML

print this article
SEARCH DEVARTICLES

Understanding XSLT transformations: Your Own `XML Transformation Utility` - “XML transformation utility,” is it really necessary?
(Page 3 of 6 )

Before proceeding further, let us wonder if it is really necessary!  The above files have been successfully tested with IE5.5 or above and we achieved what we need.  Still, why do we need any other utility?

As long as you can test with IE, it should be okay.  But, try it yourself by opening “View menu -> Source” (after opening the XML document).  You will not be able to see any transformed code.  You will just see the same XML that you wrote earlier. 

In fact, it is not showing you any transformation exactly.  It is doing transformation behind the scenes and showing you the output. It may not be  useful in certain situations (such as when you need to perform thorough testing or debug your transformations).

To solve the above “non-live” transformations, we need to have a utility (or software) which shows you the “live” transformations.  You already have plenty on the web (mostly supporting on Java).  Why don’t we try developing our own utility? Let us proceed with the same now.

Open your Visual Studio 2005 IDE and create a Windows based application (“WinForm”) with the following (Fig1) layout.


blog comments powered by Disqus
XML ARTICLES

- Open XML Finally Supported by MS Office
- XML Features Added to Two Systems
- Using Regions with XSL Formatting Objects
- Using XSL Formatting Objects
- More Schematron Features
- Schematron Patterns and Validation
- Using Schematron
- Datatypes and More in RELAX NG
- Providing Options in RELAX NG
- An Introduction to RELAX NG
- Path, Predicates, and XQuery
- Using Predicates with XQuery
- Navigating Input Documents Using Paths
- XML Basics
- Introduction to XPath

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials