Jump to content

XLink ???? :-(


sancho

Recommended Posts

Hi everyone, I've got a little problem and hope one off you can help me out :-)Since two weeks i"ve been working with XML so i'm quite new to all off this! Today I started playing with XLink but I can't get it to work :-( Here's my xml:

<?xml version="1.0" encoding="ISO-8859-1"?><?xml-stylesheet type="text/xsl" href="ketting.xsl"?><data cat="root" xmlns:xlink="http://www.w3.org/1999/xlink"><ketting id="06" cat="ketting" >  <foto xlink:type="simple" xlink:href="http://www.w3schools.com">Visit  W3Schools</foto>  <maat_ketting>45-47 cm</maat_ketting>  <kleur>Licht blauw met donker blauw</kleur></ketting><ketting id="06" cat="ketting">..... a.s.o .....

and here's a part of my xslt:

           <xsl:for-each select="data/ketting">  <p>    <xsl:value-of select="foto" /><br />    <b>Maat ketting: </b>        <xsl:value-of select="maat_ketting" /><br />    <b>Kleur: </b>        <xsl:value-of select="kleur" /><br />  </p>    </xsl:for-each>

I'm probebly making some very simple mistake but I can't find it :-( Any help would be helpful, thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...