SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Threaded View

  1. #1
    midnight coder
    Join Date
    Dec 2000
    Location
    The flat edge of the world
    Posts
    838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    can't have vars in URL when using XSLT

    //edit: doh, should have separated the & a m p ; bit
    //I've separted the amp bit so it shows up in this post

    I'm making a XSL template, and one bit of the template is:

    Code:
    <a href="profile.php?compId=3&c=3&id=3">
    And XSL didn't like the & characters at the end of the URL, this works however:

    Code:
    <a href="profile.php?compId=3& a m p ;c=3& a m p ;id=3">
    But it's a hassle to change all the & to & a m p ;, and it would seem stupid to not have an alternative solution to this problem.

    Is there a way to solve this?
    Last edited by Robo; Jun 2, 2002 at 18:01.
    Work smarter, not harder. -Scrooge McDuck


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •