Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.
 <h2 class="demoHeaders">Tabs </h2>
    <div id='tabs'>

Anytime i save the code in SP Designer 2010 the div changes to:

  <div id='tabs{generate-id()}'>

The trick in SP Designer was to create a variable and then use it but it doesn't work in SP Designer 2010. Any ideas?

share|improve this question
    
What code have you tried already that isn't working? –  iOnline247 Jul 21 '11 at 3:59
add comment

2 Answers

You need create a parameter:

<xsl:param name="videolinkshow" />

So,

<div id="back{$videolinkshow}"></div>
share|improve this answer
    
Creating a parameter or giving id in braces (e.g. <div id="{divId}"></div>) did not work. Any other way to do it? –  user4939 Sep 22 '11 at 7:51
add comment

I blogged this here: http://geekswithblogs.net/naijacoder/archive/2010/08/20/141405.aspx Hope that helps

share|improve this answer
    
please add some insights from your article rather than just shameless plug your blog, please! :-) –  Anders Rask Sep 22 '11 at 12:04
    
Anders anything wrong with what i did? No Idea –  naijacoder Oct 24 '11 at 0:47
    
As i said: post relevant info in your answer and then link to your blog, else your answer might get misunderstood as overt self-promotion. Also we want our answers to stay in the site, since external links tend to become stale quite fast. Read more in our FAQ –  Anders Rask Oct 24 '11 at 7:01
    
Thanks for the update –  naijacoder Oct 24 '11 at 7:18
    
You didnt fix it thou ;) –  Anders Rask Oct 24 '11 at 15:44
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.