RE: [xsl] Transforming XML to a schema defined XML file.

Subject: RE: [xsl] Transforming XML to a schema defined XML file.
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 22 Feb 2001 23:53:52 -0000
> I have a requirement to transform an XML file to a schema
> standard XML file.
> i.e. read one XML file, change the tags and logic to fit a
> pre-defined XML
> schema then output a new XML file.
>
> 1. Is this possible, I think it is but just checking all the same.
> 2. Is XSL the best way to do it?
> 3. If so, what would be my next step in transforming an XML
> file.

Yes, it's possible, and XSLT is a good way to do it, but the schema isn't
going to help you except as documentation of the required output. It's just
the same as any other XML-to-XML transformation except that you have a
clearer description of the target.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread