Subject: [xsl] 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 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Simple (external XML) int, knocte | Thread | Re: [xsl] Trying to write a JavaScr, Geert Josten |
Re: [xsl] Simple (external XML) int, knocte | Date | Re: [xsl] Clark notation in XPath, Jirka Kosek |
Month |