Jump to content

sancho

Members
  • Posts

    3
  • Joined

  • Last visited

sancho's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Oops sorry That wasn't exactly what i meantYou can "talk" with other XML files by using xlink. Unfortunatly I still haven't figured out how that should be done. Ill let you know when i do
  2. sancho

    XLink ???? :-(

    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
×
×
  • Create New...