[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: For Each in XSL

Subject: RE: For Each in XSL
From: Shekhar Kshirsagar <skshirsa@xxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Feb 1999 13:28:37 -0500
xsl for each
Hi,

XSL Rules defined in ur document look ok to me, but which browser are u
using ? 
I tried this HTML doc with IE5b2 and it seems that the browser just doesn't
understand any of
the XML or XSL tags, so ignores all of them and just prints everything
which is outside of those tags.


Following is the output that I saw on IE5b2 with some of the elements being
formatted as u have 
directed using HTML tags :

with years experience. 
Sub Skills include : , 
It is version of that has been using on . 
Experience 
Visual Basic 6 ADO 2.0 ASP 2.0 ActiveX 6.0 Windows NT 4.0 4 I have done
work with ADO, WebClasses as well as creating Active Server Components.
Royal Bank NatWest Soliton Computing 5 January 1999
IT/Programming/Microsoft/VB/ 




BTW, can you please give me some reference which explains about the syntax
that you have used which combines, html, xml & xsl in one document.

Thanks & Regards,
Shekhar Kshirsagar
Nortel Networks

DISCLAIMER:    
The views expressed here are my own and may not reflect those of Nortel
Networks.


At 02:06 PM 2/16/99 -0000, Livingstone, Stephen wrote:
>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
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.