User Profile
Collapse
-
Alternative to VBA IIF
Hi team I've got a file that looks like the below:
However... Ideally I would like to change the select statement if another variable "$page" has a value. So if $page wasn't blank it would read:Code:<xsl:for-each select="index/resource[(contains(title,$search))]"> <xsl:text>Print stuff here</xsl:text> </xsl:for-each>
...Code:<xsl:for-each select="index/resource[(contains(title,$search)
-
-
I've managed to get no where today with the search... Does anyone know how I can pass the value of a textbox to an xsl:param???
What I'm trying to do now is:
<xsl:if test="contains( name, 'MYSEARCHSTRING '">
Where MYSEARCHSTRING is the value in a text box.
Thanks again!Leave a comment:
-
Thanks for the tip! The data comes straight in using XSL, no loading time at all.
Much appreciated!
Last question for the day, I'm currently googling it with little luck, is there a way to use XSL to do a search on the XML file based on text in a textbox?
ThanksLeave a comment:
-
Traversing XML with Javascript
Hi team I'm traversing an XML file with 3000 + records in it. I've now run into some serious performance issues as a consequence... Is there an alternative to the below code I'm using? Or is there something in here that is really slowing it down? Any help would be much appreciated, it is currerntly taking 15 seconds to traverse my XML file!!!
XML FILE
...Code:<supplier> <id>001</id> <name>My Supplier</name>
No activity results to display
Show More
Leave a comment: