Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MrT2005
  • Content: Threads
  • Order by date
  1. MrT2005

    How to paginate results?

    Using the following XSL as an exmaple, how could it be modified to include pagination of the results (ie. Previous, Next, 1,2,3,4 ) etc... Keep in mind that I am using sorting and search parameters also. <?xml version="1.0" encoding="ISO-8859-1" ?> <xsl:stylesheet version="1.0"...
  2. MrT2005

    Sort order - dynamic select

    Is it possible to use a parameter as the select element in a sort tag? <xsl:sort order="{$sorder}" select="$searchTerm"/> Im trying to get the order based on the $searchTerm ie. so if $searchTerm = books/authors then in the xsl it would sort by books/authors. <xsl:sort order="{$sorder}"...
  3. MrT2005

    passing multiple parameters

    to select records based on one parameter im using this <xsl:for-each select="fiches/fiche[texte/cattouristique=$keyword]"> is it possible to pass a second parameter also? i want to do this also <xsl:for-each select="fiches/fiche[region/regionnseo=$keyword2]"> is there a way to combine both...
  4. MrT2005

    xpath and for-each

    demo xml file <books> <book> <title>My Book</title> <author> <name>Mr. McGillicuddy</name> <dob>01.01.1901</dob> <city>Falafel</city> </author> </book> </books> Im trying to search the books and find the name of the authors that match the $keyword...
  5. MrT2005

    Whats Wrong with this XSLT ??

    Im trying to display results based on a keyword which is working just fine. The problem is that it shows the results found 3 times (the current total number of records). I want it to just show the records I choose and then sort them. heres the XSL I'm using: <xsl:template...
  6. MrT2005

    PHP & XML - Load node via dynamic url variables

    I have 3 pages Page 1 is php to process & display xml (via sablotron) Page 2 is xml - contains the data Page 3 is the xsl file for style How do I load one record from the XML file via a dynamic url variable ? ie. geo_area.php?record=33 the code I have for loading the xml + xsl in php is...

Part and Inventory Search

Back
Top