[xsl] X3D XSLT - re yesterday

Subject: [xsl] X3D XSLT - re yesterday
From: j milo taylor <milo@xxxxxxxxxx>
Date: Fri, 30 May 2008 12:18:15 +0100
Thanks to Florent and Scott for your feedback.

I have tried what you suggested. I now get no "Attribute 'url' outside of element. null" error.

Now i get

Could not compile stylesheet
Could not compile stylesheet

Here's my code:

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output media-type="model/x3d=xml" doctype-system="http://www.web3d.org/specifications/x3d-3.2.dtd"; method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
<xsl:template match="/">
<X3D profile="Immersive">&#10;



<xsl:template match="artists">
<xsl:for-each select="artist">
<Transform translation='.8 4 1'>

<xsl:attribute name="translation"><xsl:value-of select="(position() - 1) * 6"/>
<xsl:template match="Artist_Image">
<Shape containerField='children'>
<xsl:for-each select="Artist_Image">

<Appearance containerField='appearance'>
<xsl:attribute name="url">
<xsl:value-of select="Artist_Image"/>
</xsl:attribute> <ImageTexture containerField='texture'/>

<Material containerField='material' ambientIntensity='0.200' shininess='0.200' diffuseColor='1 .50196 0'/>
<Box containerField='geometry' size='5 5 0.2'/>




Please, any help would be great, this is driving me crazy!

Best regards
J Milo Taylor

Current Thread