www.webdeveloper.com
Results 1 to 3 of 3

Thread: Create link to open more info in a new template

  1. #1
    Join Date
    Mar 2006
    Location
    Texas
    Posts
    18

    Create link to open more info in a new template

    I am a newbie to xml. I have a web page that displays a kist of info from an xml file. I would like to be able to click on any of the items (real estate listings) and open a page with more info like this. I thought I had it figured out, but I get the same record from the xml file no matter what listing I select.

    Right now, the link I have been trying to test is in the single family home section.

    Help?

  2. #2
    Join Date
    May 2007
    Posts
    288
    Judging by the URL links, you're probably not passing in the parameter correctly. I would pass it as something like:
    iter3-propertyDetail-res.php?propertyId=234242

    and have the page look for the propertyId attribute in the url.

  3. #3
    Join Date
    Mar 2006
    Location
    Texas
    Posts
    18
    I have changed it to this:

    <a href="http://gunn.net/iter3-propertyDetail-res.php?MLSNumber={MLSNumber}">
    <xsl:value-of select="StreetAddress"/></a>

    While the MLSNumber shows correctly in the link, the info displayed in the propertyDetail page is the first listing in the xml table (which just happens to be Jason).

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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