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

[no subject]

From: "Steven Livingstone" <s.livingstone@xxxxxxxxxxxxxx>
Date: Tue, 16 Feb 1999 20:46:13 -0000
option value bold xsl
Shekhar,
my work with this has been done using the following references :

Wrox Press - XML Applications
www.microsoft.com/xml and the Extreme XML Slot on Sitebuilder (by Charlie
Heinemann) - very good.
Advice from this column
A lot of hard work


I have attatched the work I am doing complete with HTM file and XSL files -
they are NOT yet finished though.

This is and ASP file and shall work across any browser. You may want to cut
out just the HTM stuff in it for running in IE5 if you don't have a web
server with MSXML installed.

Have a look at these and they should help.
Let me know if you have any queries.

regards,
Steven



From: Shekhar Kshirsagar <skshirsa@xxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Feb 1999 13:28:37 -0500

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


<?xml version="1.0"?>
<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; background-color:#00008b; color:#ffe4e1;">
      <xsl:value-of select="@name"/>
    </DIV>
    <DIV STYLE="font-weight:bold; background-color:#4169e1; color:#FFFFFF; padding:4px">
	  	Experience View
    </DIV>
    <DIV STYLE="font-weight:bold; background-color:#ff4500; color:#FFFFFF; padding:4px">
	  	Skills
    </DIV>    
    
    <!--List the skills which this person has-->
    <xsl:for-each select="skill" order-by="- years.experience">
		  <DIV STYLE="color:#ffdab9; padding:4px">
		    <SPAN STYLE="color:#000000">
				<xsl:value-of select="skill.name"/> 
				<xsl:value-of select="version"/>
			</SPAN>
		  </DIV>
	</xsl:for-each>

	<!--List the experience which this person has-->    
    <DIV STYLE="font-weight:bold; background-color:#ff4500; color:#FFFFFF; padding:4px">
	  	Experience
    </DIV>		
    <xsl:for-each select="skill" order-by="- years.experience">
		<xsl:for-each select="related.experiences">
			  <DIV STYLE="color:#ffdab9; padding:4px">
			    <SPAN STYLE="color:#000000">
					<xsl:value-of select="."/> 
				</SPAN>
			  </DIV>
		</xsl:for-each>	
	</xsl:for-each>			
  </BODY>
</HTML>
BODY
{
    COLOR: pink
}
<skills name="Information Technology">
  <skill>
	<skill.name>Visual Basic</skill.name>
	<version>6.0</version>
	<platform>Windows NT 4.0</platform>	
    <years.experience>5</years.experience>
    <last.used>
		<month>01</month>
		<year>1999</year>
    </last.used>
    <ability>4</ability>	<!--1 min, 5 max-->
    <sub.skills>
		<sub.skill>ADO</sub.skill>	<!--Should we link this to this XML Template ?-->
		<sub.skill>ASP</sub.skill>
		<sub.skill>MTS</sub.skill>
    </sub.skills>
	<related.experiences>
		<related.experience>link A</related.experience>
		<related.experience>link B</related.experience>
		<related.experience>link C</related.experience>
	</related.experiences>    
    <further.info>
		I have worked on some major projects mainly involving the web and database access.
	</further.info>
  </skill>
  <skill>
	<skill.name>C++</skill.name>
	<version>5.0</version>
	<platform>Windows 98</platform>	
    <years.experience>7</years.experience>
    <last.used>
		<month>05</month>
		<year>1998</year>
    </last.used>    
    <ability>3</ability>	<!--1 min, 5 max-->
    <sub.skills>
		<sub.skill>ATL</sub.skill>
		<sub.skill>MFC</sub.skill>
		<sub.skill>COM+</sub.skill>
    </sub.skills>
	<related.experiences>
		<related.experience>link A</related.experience>
		<related.experience>link B</related.experience>
		<related.experience>link C</related.experience>
	</related.experiences>    
    <further.info>
		I have done work on COM and have some knowledge of the COM+ specification.
    </further.info>
  </skill>
  <skill>
	<skill.name>Delphi</skill.name>
	<version>3.0</version>
	<platform>Windows 95</platform>
    <years.experience>2</years.experience>
    <last.used>
		<month>11</month>
		<year>1996</year>
    </last.used>    
    <ability>1</ability>	<!--1 min, 5 max-->
    <sub.skills>
		<sub.skill>ADSI</sub.skill>
		<sub.skill>COM</sub.skill>
		<sub.skill>PASCAL</sub.skill>
    </sub.skills>
	<related.experiences>
		<related.experience>link A</related.experience>
		<related.experience>link B</related.experience>
		<related.experience>link C</related.experience>
	</related.experiences>    
    <further.info>
		Having done some Pascal I have done some further work on ADSI components.
    </further.info>
  </skill> 
  <skill>
	<skill.name>Visual J++</skill.name>
	<version>6.0</version>
	<platform>Windows NT 5.0</platform>	
    <years.experience>1</years.experience>
    <last.used>
		<month>01</month>
		<year>1999</year>
    </last.used>    
    <ability>5</ability>	<!--1 min, 5 max-->
    <sub.skills>
		<sub.skill>ADO 2.0</sub.skill>
		<sub.skill>WebClasses</sub.skill>
		<sub.skill>MSMQ</sub.skill>		
    </sub.skills>
	<related.experiences>
		<related.experience>link A</related.experience>
		<related.experience>link B</related.experience>
		<related.experience>link C</related.experience>
	</related.experiences>    
    <further.info>
		Work with Sun's Java specification and some work with the new Jini standards.
    </further.info>
  </skill>
  <skill>
	<skill.name>Site Server</skill.name>
	<version>3.0</version>
	<platform>Windows NT 4.0</platform>	
    <years.experience>1</years.experience>
    <last.used>
		<month>01</month>
		<year>1999</year>
    </last.used>    
    <ability>4</ability>	<!--1 min, 5 max-->
    <sub.skills>
		<sub.skill>AUO</sub.skill>
		<sub.skill>Personalisation and Membership</sub.skill>
		<sub.skill>Direct Mailer</sub.skill>		
    </sub.skills>
	<related.experiences>
		<related.experience>link 1</related.experience>
		<related.experience>link 2</related.experience>
		<related.experience>link 3</related.experience>
	</related.experiences>    
    <further.info>
		Implemented a customised Intranet System with daily personalised emails.
    </further.info>
  </skill>  
</skills>
<?xml version="1.0"?>
<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; background-color:#00008b; color:#ffe4e1;">
      <xsl:value-of select="@name"/>
    </DIV>
    <DIV STYLE="font-weight:bold; background-color:#4169e1; color:#FFFFFF; padding:4px">
	  	Skills
    </DIV>
    
    <!--List the skills which this paerson has-->
    <xsl:for-each select="skill" order-by="- years.experience">
		  <DIV STYLE="color:#ffdab9; padding:4px">
		    <SPAN STYLE="color:#000000">
				<xsl:value-of select="skill.name"/> 
				<xsl:value-of select="version"/> with 
				<xsl:value-of select="years.experience"/> years experience
				with an ability of <xsl:value-of select="ability"/> on 
				<xsl:value-of select="platform"/>. The last time
				this skill was used was 
				<xsl:value-of select="last.used/month"/>/<xsl:value-of select="last.used/year"/>.
			</SPAN>
		  </DIV>
	</xsl:for-each>
	
	<!--Set out the technical information-->
	<DIV STYLE="font-weight:bold; background-color:#4169e1; color:#FFFFFF; padding:4px">
	  	Technical Information
	</DIV>    	
    <xsl:for-each select="skill" order-by="- years.experience">		  
		  <DIV STYLE="color:#ffdab9; padding:4px">
		    <SPAN STYLE="color:#000000">
		<xsl:value-of select="further.info"/>
		</SPAN>
      </DIV>
	</xsl:for-each>

	<!--Set out the sub skills information for thge person-->
	<DIV STYLE="font-weight:bold; background-color:#4169e1; color:#FFFFFF; padding:4px">
	  	Sub Skills
	</DIV>    	
    <xsl:for-each select="skill" order-by="- years.experience">
		  <DIV STYLE="color:#ffdacc; padding:4px;font-weight:bold;">
		    <SPAN STYLE="color:#000FFF;">
				<xsl:value-of select="skill.name"/>
			</SPAN>
		  </DIV>		
		<xsl:for-each select="sub.skills">
		  <DIV STYLE="color:#ffdab9; padding:4px">
		    <SPAN STYLE="color:#000000">
				<i><xsl:value-of select="."/></i>
			</SPAN>
		  </DIV>		
		</xsl:for-each>
		
	</xsl:for-each>	
  </BODY>
</HTML>
<?xml version="1.0"?>
<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; background-color:#00008b; color:#ffe4e1;">
      <xsl:value-of select="@name"/>
    </DIV>
    <DIV STYLE="font-weight:bold; background-color:#4169e1; color:#FFFFFF; padding:4px">
	  	Skills View
    </DIV>
    
    <!--List the skills which this person has-->
    <xsl:for-each select="skill" order-by="- years.experience">
		  <DIV STYLE="color:#ffdacc; padding:4px;font-weight:bold;">
		    <SPAN STYLE="color:#000000">
				<xsl:value-of select="skill.name"/>	<xsl:value-of select="version"/>
			</SPAN>
		  </DIV>		
		<xsl:for-each select="sub.skills">
		  <DIV STYLE="color:#ffdab9; padding:4px">
		    <SPAN STYLE="color:#000000">
				<i><xsl:value-of select="."/></i>
			</SPAN>
		  </DIV>		
		</xsl:for-each>
		
	</xsl:for-each>	
  </BODY>
</HTML>
<%@Language=VBScript%>
<%
client = Request.ServerVariables("HTTP_USER_AGENT")

version = Split(client,";",-1,1)%>
  <HTML>
    <BODY>
<%	If version(1) = " MSIE 5.0b2" Then%>
      <XML ID="XMLDoc"></XML>
      <XML ID="XSLDoc"></XML>
      <DIV ID="insertHTML"></DIV>
      
      <SCRIPT LANGUAGE=VBScript>
        XMLDoc.async = false
        XMLDoc.load("skills.xml")
	    XSLDoc.async = false	
<%		If Request.Querystring("view")="" Then	%>
			XSLDoc.load("skills.xsl")
<%      ElseIf Request.Querystring("view")="1" Then	%>
			XSLDoc.load("skillsView.xsl")
<%      ElseIf Request.Querystring("view")="2" Then	%>			
			XSLDoc.load("ExpView.xsl")
<%      End If	%>
        result = XMLDoc.documentElement.transformNode(XSLDoc.documentElement)
        insertHTML.innerHTML = result
        
		Sub view1_onChange()
			If Request.Querystring("view")="" Then
				XSLDoc.load("skills.xsl")
		    Else	
				XSLDoc.load("skillsView.xsl")
		    End If
		End Sub
		</SCRIPT>
<%
Else
  Set XMLDoc = Server.CreateObject("Microsoft.XMLDOM")
  Set XSLDoc = Server.CreateObject("Microsoft.XMLDOM")
  XMLDoc.async = false
  XMLDoc.load(Server.MapPath("skills.xml"))
  XSLDoc.async = false
If Request.Querystring("view")="" Then
  XSLDoc.load(Server.MapPath("skills.xsl"))
ElseIf Request.Querystring("view")="1" Then
  XSLDoc.load(Server.MapPath("skillsView.xsl"))
ElseIf Request.Querystring("view")="2" Then
  XSLDoc.load(Server.MapPath("ExpView.xsl"))  
End If
  response.write(XMLDoc.documentElement.transformNode(XSLDoc.documentElement))
End If
%>

      
<SCRIPT LANGUAGE=VBScript>
	Sub view_onChange()
		'msgbox Document.ViewForm.View.Options(SelectedIndex).Text
	End Sub
</SCRIPT>
      
<FORM METHOD=GET Name="ViewForm">
	<SELECT NAME=view size=4>
		<OPTION VALUE="" SELECTED>Commentary</OPTION>
		<OPTION VALUE="1">Skills View</OPTION>
		<OPTION VALUE="2">Experience View</OPTION>		
	</SELECT>
<%If version(1) = " MSIE 5.0b2" Then%>	
	<INPUT TYPE=SUBMIT Value="Alter View">
<%Else%>
	<INPUT TYPE=SUBMIT Value="Alter View">
<%End If%>
</FORM>
    </BODY>
</HTML>
Current Thread
  • [no subject]
    • Steven Livingstone - Tue, 16 Feb 1999 20:46:13 -0000 <=

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.