<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=036535816-24022006><FONT face=Arial
color=#0000ff size=2>There are tools such as Stylus Studio that help you
construct an XSLT transformation given knowledge of the input and output
schemas. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=036535816-24022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=036535816-24022006><FONT face=Arial
color=#0000ff size=2>Clearly the process can't be automated completely, for
example if elements have been renamed then you need to define the mapping by
hand.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=036535816-24022006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=036535816-24022006><FONT face=Arial
color=#0000ff size=2>Michael Kay</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=036535816-24022006><FONT face=Arial
color=#0000ff size=2>http://www.saxonica.com/</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> jdom-interest-bounces@jdom.org
[mailto:jdom-interest-bounces@jdom.org] <B>On Behalf Of </B>Kashif
Riaz<BR><B>Sent:</B> 24 February 2006 16:29<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] XML
Transformation<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>I have a piece of XML and a schema (XSD). I wish to
transform the XML to a newer XML according to the XSD. How can it be done? I
looked at XSLT, but it requires a XSL, not an XSD.<BR><BR>What I'm trying to
do is to re-order some XML tags in the old XML according to the XSD and output
this to another XML file. <BR><BR>Any
ideas?<BR><BR>Thanks,<BR>Kashif.<BR></BLOCKQUOTE></BODY></HTML>