Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4233220
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:11:37+00:00 2026-05-21T02:11:37+00:00

I want to combine some XSL with XML and put out the resulting HTML.

  • 0

I want to combine some XSL with XML and put out the resulting HTML.

My XSl contains this line which doesnt work:

<a href="www.domain.com/account/business/get/?t=2&amp;id=<xsl:value-of select="row/objectid"/>">Click here</a>

The desired output would be:

<a href="www.domain.com/account/business/get/?t=2&id=6">Click here</a>

The code works when I leave out the <xsl:value-of select="row/objectid"/> part in the URL. It also works when I place the <xsl:value-of select="row/objectid"/> outside the hyperlink tag, so i KNOW the value-of-select to be correct by itself.

So I suspect that the quotes are messing things up…how can I fix this?

PS. I tried replacing " with ' as well

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T02:11:38+00:00Added an answer on May 21, 2026 at 2:11 am

    Your stylesheet should contain well-formed XML, so you can’t include the output from value-of in an attribute. Use an attribute value template instead:

    <a href="www.domain.com/account/business/get/?t=2&amp;id={row/objectid}"
      >Click here</a>
    

    The expression in curly braces will be evaluated and replaced with its output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to define some basic styles that I can combine. Let's say I
I have three tables which I want to combine into one view or temporary
I want to combine some images with PHPGD to create a CSS Sprite dynamically,
I have a folder full of html files, some of which have the following
In a table I want to combine some of the columns, but not in
I have a report in SSRS 2008 and I want to combine some strings.
I have two XML docs that I've created and I want to combine these
I have a number of Python generators, which I want to combine into a
I'm looking to combine some code but I'm not sure if what I want
I know some PHP and now I want to combine it using ajax/jquery. Just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.