This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Transforming XML to XML
- To: XSL-List at mulberrytech dot com
- Subject: Transforming XML to XML
- From: Zeljko Rajic <Zeljko dot Rajic at brokat dot com>
- Date: Wed, 15 Nov 2000 17:16:24 +0100
- Organization: Brokat AG
- Reply-To: xsl-list at mulberrytech dot com
Hello everybody !
I'm a newbie to XML/XSL so maybe my question may look trivial:
How do I transform a XML document into another XML document? My problem actually
is to write a XSL transformation rule that creates the XML docuement
description: <?xml version="1.0" encoding="UTF-8"?>
I've tried to following XSL syle sheet:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/">
<xsl:processing-instruction name="xml">version="1.0"
encoding="UTF-8"</xsl:processing-instruction>
</xsl:template>
</xsl:stylesheet>
Unfortunately I couldn't find any example which shows how to transform XML to
XML !! :( At the moment I'm even not sure if the specification allows such
transformations.
I hope someone can help me here.
Zeljko
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list