Results 1 to 3 of 3

Thread: passing data from html to xsl variable

Hybrid View

  1. #1
    Join Date
    Mar 2012

    passing data from html to xsl variable

    Hi all,

    i'm new to xml but i was wondering if the following is possible:
    I have a html document with some tabs. And when i click on a tab it opens a xml document. In the xml document is alink to xsl sheet with a variable and i want to change that variable with the value of the link in html document. Does some one nows how?

    html link:

    <a href="#t1" target= "t1" title="[link title]">11</a>

    <div class="sliderkit-news" id=t1><iframe name="t1" width="100%" height="800" src=wo.xml></iframe>

    xml variable
    <xsl:variable name= "line" select="'11'"/>

    The number 11 should come form the a href in the html doc.

  2. #2
    Join Date
    Mar 2012
    No one can help me?

  3. #3
    Join Date
    Mar 2012
    Okqy does some now if this is possible then:

    <xsl:variable name= "line">
    <option value="'11'">11</option>
    <option value="'12'">12</option>
    <option value="'13'">13</option>

    I want to fill the variable with a drop down selection. and then use the variable in the document.

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