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

RE: value of "this" in IE5b2-XSL script

  • From: "Livingstone, Stephen" <Livinsb@r...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Wed, 20 Jan 1999 11:18:32 -0000

xsl eval xsl script
I tried it a few times, but it seemed OK.

Does it work OK on B2?

steven

Steven Livingstone BSc MSc GradInstP
Corporate Systems Development (TCN)
Royal Bank Of Scotland.
> *: mailto:livinsb@r...
> *:  +44 0131 523 4354 [x24354]
> 
Networking Technical Associates,
Glasgow, Scotland.
> *: mailto:ntw_uk@h...
> *: +44 07771-957-280
> 
> -----Original Message-----
> From:	shinichiro.hamada@t...
> [SMTP:shinichiro.hamada@t...]
> Sent:	Wednesday, January 20, 1999 9:36 AM
> To:	ML XMLDev
> Cc:	?? ???
> Subject:	value of "this" in IE5b2-XSL script
> 
> 
> *** Warning : this message originates from the Internet ****
> 
> Hello, all.
> 
> I'm studying XSL with IE5b2 and then I encountered a strange phenomena
> which
> bothers me very much.
> 
> I wrote a following XML and XSL based on a sample of MS web page.
> These
> files should show XML's element values with using XSL's "this" keyword
> and
> Javascript. But IE5b2 sometimes shows so, and sometimes shows nothing!
> That
> is why? IE5b2's bug?
> 
> Do I misunderstand anything on XSL? Please give me any advices.
> Thank you in advance.
> Regards.
> 
> --
> Shinichiro HAMADA
> 
> ---- simple.xml ----
> <?xml version='1.0'?>
> <?xml:stylesheet type="text/xsl" href="simple.xsl" ?>
> 
> <breakfast-menu>
> 
>   <food>
>     <name>Belgian Waffles</name>
>     <price>$5.95</price>
>   </food>
> 
>   <food>
>     <name>Strawberry Belgian Waffles</name>
>     <price>$7.95</price>
>   </food>
> 
> </breakfast-menu>
> 
> ---- simple.xsl ----
> <?xml version="1.0"?>
> 
> <html xmlns:xsl="http://www.w3.org/TR/WD-xsl">
> 
> <xsl:script>
> function PutSrc() { return "" + this };
> </xsl:script>
> 
> <body>
>   <xsl:for-each select="breakfast-menu/food">
>     <div style="margin-left:20px; margin-bottom:1em; font-size:10pt">
>       elements:<br/>
>       <xsl:eval>PutSrc()</xsl:eval>
>     </div>
>   </xsl:for-each>
> </body>
> 
> </html>
> 
> 
> xml-dev: A list for W3C XML Developers. To post,
> mailto:xml-dev@i...
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
> To (un)subscribe, mailto:majordomo@i... the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@i... the following
> message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.'



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.