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

FW: Embedded Javascript (xsl:script issue)

Subject: FW: Embedded Javascript (xsl:script issue)
From: Zeynep Gunal <z.gunal@xxxxxxxxxxxxxxxx>
Date: Tue, 27 Feb 2001 12:58:49 +0100
gunal

-----Original Message-----
From: Zeynep Gunal 
Sent: Tuesday, February 27, 2001 12:41 PM
Ooops, I hit the return button and I did not realise it was being sent to
Jeni's private e-mail address.

Zeynep


To: 'Jeni Tennison'
Subject: RE:  Embedded Javascript (xsl:script issue)


Jeni, thanks a million!

I downloaded bsf.jar and js.jar, incorporated the lxslt:component and
lxslt:script, and it's OK now.

I had had my doubts that XSLT1.1 would work, but I had tried it with
msxsl:script, same result. The problem is that I am a beginner too, I have
just started using extensions.

> Have you looked at using generate-id() to generate unique IDs?

It was the first thing have looked at. My understanding is that
generate-id() returns a string like 'N1', 'N2', using the nodes and their
sequence in the XSL sheet. When the same XSLT is used to translate similar
XML messages, and write them to a file, generate-id() does not do the job. 

> By the way, why are you doing:

>>   <xsl:text disable-output-escaping='yes'>&lt;XID&gt;</xsl:text>

Well, I had borrowed this line from another XSLT sheet, and I was told it
should be like that. But <XID /> is doing the same, so I'll change it.
Thanks for the hint.

Cheers,

Zeynep

 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.