This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Transforming XML to XML


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]