RE: For Each in XSL

Subject: RE: For Each in XSL
From: "Livingstone, Stephen" <Livinsb@xxxxxxxxxx>
Date: Tue, 16 Feb 1999 14:06:21 -0000
Trying to be a bit smart with my CV !! Here is where I was at...

Any ideas ?? It's the sub-skills part that's causing me stress !!

Cheers,
Steven

<HTML xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
	<BODY STYLE="font-family:Arial,helvetica
		,sans-serif;font-size:12pt;background-color:#EEEEEE">
	<DIV STYLE="font-weight:bold;font-size:16pt">
		<xsl:value-of select="@person.name"/>
	</DIV>
		<DIV STYLE="background-color:#8B0000;color:#FFFFFF;
		padding:4px">
		<SPAN STYLE="font-weight:bold;color:white">
			<xsl:value-of select="skill.name"/> 
			with <xsl:value-of select="years.experience"/>
years experience.</SPAN>
		</DIV>
		<DIV STYLE="font-weight:bold">Sub Skills include : 
			<xsl:for-each select="sub.skills">
				<xsl:value-of select="sub.skill"/>,
			</xsl:for-each>
		</DIV>
		<DIV STYLE="font:weight:bold">It is version 
			<xsl:value-of select="./language/version"/> of
			<xsl:value-of select="skill.name"/> that 
			<xsl:value-of select="person.name"/> has been
using on <xsl:value-of select="platform"/>.
		</DIV>
		<DIV
STYLE="font:weight:bold;color:yellow;background=black;">
			Experience
		</DIV>
		<DIV
STYLE="font:weight:bold;color:white;background=black;padding=3px">
			<xsl:value-of select="further.info"/>
		</DIV>
	</BODY>
</HTML>


<skills person.name="Steven Livingstone">
	<skill.name>Visual Basic</skill.name>
	<years.experience>6</years.experience>
	<sub.skills>
		<sub.skill>ADO 2.0</sub.skill>
		<sub.skill>ASP 2.0</sub.skill>
		<sub.skill>ActiveX</sub.skill>
	</sub.skills>
	<language>
		<version>6.0</version>
	</language>
	<platform>Windows NT 4.0</platform>
	<desire.rating>4</desire.rating> 	<!--1 (low) to 5
(high)-->
	<further.info>
		I have done work with ADO, WebClasses as 
		well as creating Active Server Components.
	</further.info>
	
	<!--More thought shall be needed.
		Maybe these links shall go to unique id's
		within the experience section ??
	-->
	<related.experience.links>
		<exp.link>Royal Bank</exp.link>
		<exp.link>NatWest</exp.link>
		<exp.link>Soliton Computing</exp.link>
	</related.experience.links>
	<ability>5</ability>	<!--1 (low) to 5 (high)-->
	<last.used>January 1999</last.used>

<group.cluster.id>IT/Programming/Microsoft/VB/</group.cluster.id>
</skills>

Steven Livingstone BSc MSc GradInstP
Corporate Systems Development (TCN)
Royal Bank Of Scotland.
> *: mailto:livinsb@xxxxxxxxxx
> *:  +44 0131 523 4354 [x24354]
> 
Networking Technical Associates,
Glasgow, Scotland.
> *: mailto:ntw_uk@xxxxxxxxxxx
> *: +44 07771-957-280
> 
> -----Original Message-----
> From:	Guy_Murphy@xxxxxxxxxx [SMTP:Guy_Murphy@xxxxxxxxxx]
> Sent:	Tuesday, February 16, 1999 11:55 AM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	Re: For Each in XSL
> 
> 
> *** Warning : this message originates from the Internet ****
> 
> Hi.
> 
> Can you give an example of the code you're using? Is it anything
> like...
> 
> <xsl:template match="first">
>      <xsl:for-each select="node.a/a">
>           <!-- produce something -->
>      </xsl:for-each>
> </xsl:template>
> 
> Cheers
>      Guy
> 
> 
> 
> 
> 
> xsl-list@xxxxxxxxxxxxxxxx on 02/16/99 05:45:03 PM
> 
> To:   xsl-list@xxxxxxxxxxxxxxxx
> cc:    (bcc: Guy Murphy/UK/MAID)
> Subject:  For Each in XSL
> 
> 
> 
> 
> <first>
>         <node.a>
>                 <a>ADO 2.0</a>
>                 <a>ASP 2.0</a>
>                 <a>ActiveX</a>
>         </node.a>
> </first>
> This might be pretty simple, but I can't seem to get the values of the
> chilren of the <node.a> node.
> I only ever seem to get the first value. Does anyone know what I
> should
> do??
> Thanks,
> Steven
> Steven Livingstone BSc MSc GradInstP
> Corporate Systems Development (TCN)
> Royal Bank Of Scotland.
> [SNIP]
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer..

'Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent.'



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


Current Thread