This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

complex javascript in xsl


i am trying to export javascript and html in my xsl.
one thing i cannot get to work is exporting javascript functions that also
make use of the xml nodes.
for example, i want to be able to cache an array of images.  i want to use
the javascript features of New Array and New Image, but point the src of the
image to a path in a node in my xml file.

i cannot seem to use both javascript functions and xsl functions together.
I have been able to put the script in an <xsl:script> tag and have full use
of the xml structure, but not the javascript features (Array, Image,
document).  If i put the function in an html <script> tag, i have the
opposite, it lets me access the javascript document and Image, but not my
xml nodes.

How can I do BOTH?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]