|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL as XML transformation
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
transformation.
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@p... | but it might as well be.
| -- "Kin" Hubbard
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








