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

Trying to write a JavaScript variable the value of a f

Subject: Trying to write a JavaScript variable the value of a form field
From: "Bruso, John" <jbruso@xxxxxxxxxxxx>
Date: Mon, 3 Oct 2005 14:44:21 -0600
javascript write
I have a javascript is an external file called via the "script src" tag, but
it seems that I can not place this within the <input value=""...  HTML tag.

<input value="<script src="{$themePath}/scripts/link-parsed-variable.js"
type="text/javascript"><xsl:text> </xsl:text></script>" name="uP_fname"
type="hidden" />

I want to put a javascript document.write within the <input value=""...

How do I do that within XSL?


Thanks!

    -------------------------
John Bruso
Web Developer
ph  307.674-6446-2608






-----Original Message-----
From: knocte [mailto:knocte@xxxxxxxxx]
Sent: Monday, October 03, 2005 1:07 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Simple (external XML) internationalization with XSLT?

M. David Peterson escribis:
> Hi Andrew,
>
> I'm guessing this is just a typo as your XML parser would have
> screamed at you before even getting to the transformation process.
> But just in case, this:
>
> <i18n:string key="1">Rendered image</string>
> <i18n:string key="2">Alt text</string>
>
> should be:
>
> <i18n:string key="1">Rendered image</i18n:string>
> <i18n:string key="2">Alt text</i18n:string>
>
> With the list of folks who have answered your post thus far I'm sure
> if they saw it as anything more than a typo they would have said so...
> but I thought it might be worth mentioning on the off chance that this
> is a copy-and-paste from your editor to email and it simply got
> overlooked by the others.  If this is the case, your not going to see
> what you want to see until you fix this at which point you can begin
> to debug your transformation if this in and of itself doesn't fix
> things.
>

Thanks for the warning. I am aware of this. This typo didn't come from a
copy-paste but yes from a "reducing" technique to a minimal testcase,
without testing it ;)

    Andrew

--

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.