Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to tack on &someParm to the url so I can check paging. Here's what I've got that won't let me save: I'm sure this is an easy thing to do but I can't for the life of me figure this out. I'm hoping someone above my newbie skills can help! Thanks in advance...
In XSLT you have to use the entity for the & character, which is & [code][/code] For future reference, the other common characters you need to replace in XSLT are: < becomes < if not used as part of a tag
becomes > if not used as part of a tag This blog post might give you more background. [url]http://blog.percipientstudios.com/2009/4/11/anatomy-of-an-umbraco-xslt-file.aspx[/url] cheers, doug.
Doug Thanks for the quick response! I thought I tried that but I guess not becuase it worked just fine. I did know about the < & gt; Thanks again!
One more question ... how do I get © for the copyright symbol to work?
Remember that the & is a special character and must, itself, be expanded. So... to get © you use (are you ready for this?)... © cheers, doug.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to embed & in an href= tag in XLST
I want to tack on &someParm to the url so I can check paging. Here's what I've got that won't let me save:
I'm sure this is an easy thing to do but I can't for the life of me figure this out. I'm hoping someone above my newbie skills can help!
Thanks in advance...
In XSLT you have to use the entity for the & character, which is &
[code][/code]
For future reference, the other common characters you need to replace in XSLT are:
< becomes < if not used as part of a tag
Doug
Thanks for the quick response! I thought I tried that but I guess not becuase it worked just fine. I did know about the < & gt;
Thanks again!
One more question ... how do I get © for the copyright symbol to work?
Remember that the & is a special character and must, itself, be expanded. So... to get © you use (are you ready for this?)...
©
cheers,
doug.
is working on a reply...