OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XSL as XML transformation

[ Lists Home | Date Index | Thread Index ]
  • From: "John E. Simpson" <simpson@polaris.net>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 08 Apr 1999 13:45:40 -0400

At 04:39 PM 4/8/1999 +0100, Leigh Dodds wrote:
>I've been reading through the XSL spec and I noticed that it 
>mentions that XSL could be used as an XML transformation mechanism
>as the result tree need not use the formatting vocabulary.
>Does this mean that its possible to use XSL to do transformation 
>from one XML document type to another? If so are there any gotchas 
>that I should be concerned with?

Yes, you can do that with XSL. Gotchas (other than understanding everything
you can about the structures of both the source and the result tree :),
well, just make sure your namespace declarations ensure that the result
tree's elements won't be prefixed. (That is, if your result tree's DTD --
if one -- includes a <link> tag, you don't want the transformation to emit
something like <result:link>.) Oh, and use James Clark's xt for the

Also, I think SAXON can output 2 (or more?) separate result trees, so you
might want to take a look at it's XSL capabilities as well.
John E. Simpson          | It's no disgrace t'be poor, 
simpson@polaris.net      | but it might as well be.
                         |            -- "Kin" Hubbard

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS