Click to See Complete Forum and Search --> : Send a Form Field to an XSL doc?


soyebean
07-08-2003, 02:23 PM
Hello Forum,

I am very new to XML and XSL. I am using ColdFusion 4.5 and I create an XML document on the fly, the page parses the XML, sends information to an XSL page and then deletes the XML file.

I would like to send form fields to the XSL document, so that I can use them in a JavaScript in the XSL document.

Can this be done?

Any response would be appreciated.

Thank you in Advance for your time.
SoyeBean

Khalid Ali
07-09-2003, 10:33 AM
Your question is confusing,what do you mean you wnat tosend html form elements to XSL,because XSL is applied on XML document not on HTML

soyebean
07-09-2003, 10:54 AM
Hi Khalid Hello Forum,

Sorry about my questions, they don't make sense because I get stuck and I start to guess what my problem is.

I think I solved my problem last night. I used Javascript in the XSL document to get the ID I needed, then I referenced the ID in my .CFML page.

I used <body onload="window.parent.location.replace('index.cfm?etc.etc.');"> to redirect to the URL.

I will be testing this today and I will post my results.

Thank you for taking the time to read my post.

Best regards,
SoyeBean

Khalid Ali
07-09-2003, 12:12 PM
yep...lol

Thats what I thought cus XSL is independant of Javascript and stuff...