|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I it possible? to add two buttons in the xsl one Open and the other is Closed, when i press the Open button then : xsl:for-each select="/spt/Recnr[Status='Open'] and for the close button. xsl:for-each select="/spt/Recnr[Status='Closed'] After i have pressed one of the buttons then the table will fill with xpath argument status=Open or status=Closed. Cheers Tidde |
|
#2
|
||||
|
||||
|
Hi and welcome to the forums
You need to be a little more specific on what you are trying to do? Are you converting XML -> HTML, HTML -> HTML or what? XSL is only a transformation language and thus incapable of doing lots of the stuff that normal programming languages do... |
|
#3
|
|||
|
|||
|
Hi,
Thanks for your quick answer, What i mean is, (i use xsl and xhtml) to make an table that's show the contents of an xml file, this overview shows open projects and closed projects, but so far i see can you use xsl to get the data from a xml file and show it by xhtml? Also i saw it's possible to use vbscript or javascript in you xhtml file to create som sub's and functions. Now what i need is two buttons , the buttons calling a vbscript and specify the xpath (put it in a variable or something like that. Then with the use of xsl you get only the open projects or the closed projects. I'll hope i make it a little more clear. cheers Tidde |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > NEWBIE: xsl xsl:for-each select="/spt/Recnr[Status='Open'] |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|