I’m new at XSLT. I want to create a hyperlink using XSLT.
Should look like this:
Read our privacy policy.
“privacy policy” is the link and upon clicking this, should redirect to example “www.privacy.com”
Any ideas? 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
This transformation:
when applied on any XML document (not used), produces the wanted result:
and this is displayed by the browser as:
Read our privacy policy.
Now imagine that nothing is hardcoded in the XSLT stylesheet — instead the data is in the source XML document:
Then this transformation:
when applied on the above XML document, produces the wanted, correct result: