Subject:changing the look of xml Author:STEVEN IBBOTSON Date:09 Nov 2005 09:17 AM
I am sorry to put up a request like this (as i guess it will be straight forward) but have not been working with xml/stylus studio for long, i have the following xml and would like to convert it to the xml at the bottom, if anyone can help i would be very grateful. Thanx in advance.
Subject:changing the look of xml Author:(Deleted User) Date:09 Nov 2005 01:38 PM
Stephen,
This should do the trick:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes"/>
<xsl:template match="/">
<root>
<xsl:apply-templates select="//value"/>
</root>
</xsl:template>