This is a bad idea

By Zex
Aug 29, 2005
  1. Hey guys, Im having a problem with some XML stuff, Im more than likely WAY Off topic here, but I was curious if anyone could help me out? Maybe an Admin can add a coding section? (More visitors, yay!).

    Alright, here's the deal, I've got an XML File, let's just say it looks like this:

    <name>John Doe</name>
    <address>123 WTF Lane</address>

    Im looking to make it create a link out of say, his name, and I dont know what the XSL should look like to do so...

    Something like:
    <a href="index.php?page=people&view=person&id={name}"><xsl:value-of select="name"></a>

    But whenever I have multiple variables in a link carrying through to a PHP file, it comes back with some error. Any thoughts?

    Again, Im aware that this is probably in the wrong section, but I figured this to be the best place to come to look, if a GM feels the necessity to move the topic, Feel free.

    Thanks ahead of time, and my apologies are extended.
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...