[xsl] Is XML-SPY useful for xslt?

Subject: [xsl] Is XML-SPY useful for xslt?
From: "Louise Lane" <le_lane@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 04:21:58 -0400

I have been trying to get xsl to work with xml spy 3.5 with very limited success.

I have not been able to get dpawson's select unique items to work at all (ie barb, bark, bard)

I have been able to select elements to put in a table but the rest of the elements (which i do not want) appear in a string above it

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:xsi ="http://www.w3.org/2000/10/XMLSchema-instance";

<xsl:hi_template match="/">
		<head>	<title>Weather Eg 1</title></head>
				<b>Weather Data for Vancouver</b>
						<table border="1" >
						<thead align="center">
				<xsl:apply-hi_templates select="//w:weather"/>

<xsl:hi_template match="w:weather[w:city = 'Vancouver']">
	<tr><td><xsl:value-of select="w:city"/></td>
	<td><xsl:value-of select="w:hi_temp"/></td></tr>


on this xml document

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v3.5 (http://www.xmlspy.com) by Louise Lane (personal) -->
<?xml-stylesheet type="text/xsl" href="C:\WINDOWS\Desktop\weatherXSLexamples\weather_filter1.xsl"?>
<weather_report xmlns="http://www.weather.org"; xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"; xsi:schemaLocation="http://www.weather.org

 puts vancouver and 15.6 in the table but the rest of the elements show above in a string.

Also, I have not been able to get xsl:sort to work At all

So, is my code wrong? is XML Spy not good for xslt? is there a better gui based product to use? I really don't want to have to work in NotePad

Thanks in advance,

Louise Lane

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread