ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] xml/XSL and javascript form issue
by Thomas B. Passin other posts by this author
Mar 1 2002 12:27AM messages near this date
[xml-dev] xml/XSL and javascript form issue | [xml-dev] updated xmlns media feature
[rockie12]
> 
>  I have an XML file that contains a javascript that works with the form
that
>  is actually specified in the XSL style sheet.  The problem is that when I
>  try to use the document.forms[0]  or   this.form  in the javascript it
does
>  not know about the form.  The variable I set
> 
>  var  form1 = document.forms[0];
> 
>  form1 is always null.
> 
>  any ideas?
> 
>  I have tried putting the form lines in the XSL file, but that does not
work
>  either.
> 
 You have to get working html, then get the output from the stylesheet
transformation and see if it matches the html you worked out.  Without
knowing more about these things, including how and where you are generating
the results, it's hard to offer any help.

xslt questions are better asked on the Mulberry xslt list.

Cheers,

Tom P


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
rockie12
Thomas B. Passin

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved