Topic: Embedding JavaScript into XSL |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Phoenix |
posted 02-19-2004 08:15
Is there anyone in the asylum familiar with howto embed complex javascript functions into XSL? I can do a simple alert('foo'); from xsl... but beyond that, not having much luck. |
Paranoid (IV) Inmate From: France |
posted 02-19-2004 09:29
Karl: You can do it that way : code: <?xml version="1.0" encoding="ISO-8859-1"?>
|
Bipolar (III) Inmate From: Phoenix |
posted 02-19-2004 16:02
Okay, now lets add a layer of complexity! |
Paranoid (IV) Inmate From: France |
posted 02-19-2004 16:35
Oh, you're loading an XML string directly ( I didn't even knew that was possible ). So it should be a simple problem of parsing reserved words/symbols. Try to split your XML string in strategic areas like. |
Bipolar (III) Inmate From: Phoenix |
posted 02-19-2004 18:34
Good suggestion... i will try that for sure. |