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

Problems with IE 5.0 and examples in the XSL spec

Subject: Problems with IE 5.0 and examples in the XSL spec
From: Thomas Weholt <u970130@xxxxxxxxxxxxx>
Date: Mon, 05 Apr 1999 20:08:08
penguin.jpg
Hi,

I`m trying to learn more advanced xsl by using some of the examples in the
xsl-spec, but almost nothing works. I`m trying to sort elements, process
elements according to content of their attributes etc. Are these things
supported in IE 5.0 at all?

What I`m looking for is something like this :

Ex 1.

A XML-document like this :

<employees>
	<employee>
		<firstname>Linus</firstname>
		<lastname>Torvalds</lastname>
	</employee>
</employees>

with an output like this :

<b>Torvalds, Linus</b>

Ex 2.

A XML-document like this :

<programmers>
	<programmer os="Linux">
		<firstname>Linus</firstname>
		<lastname>Torvalds</lastname>
	</programmer>
	<programmer os="Microsoft">
		<firstname>Bill</firstname>
		<lastname>Gates</lastname>
	</programmer>
</programmers>

and a stylesheet that only shows programmers that work in Linux,
perhaps something like this :

Programmers working on "Linux" :
Linus Torvalds


---------------------------------------------------------------

It seems as if the {@attribute}- and {element}-part is also buggy. The
specs say I can do something like 

<photograph>
	<image>penguin.jpg</image>
	<desc>A cute little penguin.</desc>
</photograph>

and use a template like this

<xsl:template match="photograph">
<img src="{image}" alt="{desc}">	
<xsl:apply-templates/>
</xsl:template>

to produce this :

<img src="penguin.jpg" alt="A cute little penguin.">

but nothing works in IE 5.0

I`m using the final release of IE.

HELP!!!!

   Thomas Weholt

----------------------------------------------
        eMail : u970130@xxxxxxxxxxxxx
       HTTP://bolinux1.hit.no/~u970130
         Phone : +47 - 92 09 59 68
----------------------------------------------



 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.