www.webdeveloper.com
Results 1 to 4 of 4

Thread: Send a Form Field to an XSL doc?

  1. #1
    Join Date
    Jul 2003
    Location
    Mission, BC
    Posts
    12

    Send a Form Field to an XSL doc?

    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

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,123
    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
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Jul 2003
    Location
    Mission, BC
    Posts
    12
    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

  4. #4
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,123
    yep...lol

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

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles