• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iFrame in xsl file

 
nuthan kumar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am parsing XML file using xsl.. in xsl I need to call one jsp using iFrame with two parameters.
when I tried like this, i am getting error..
<iframe name="mbomFilter" id="mbomFilter" src="../test.jsp?par1='test1'&par2='test2'" height="40" width="100%" marginheight="0" marginwidth="0" scrolling="yes" frameborder="0"></iframe>

I think the problem is with & symbol in the src. can some one please help me how to avoid this.

Thanks
Nuthan
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem could be something to do with that ampersand. However you have seen the error message and we have not, which makes it difficult to be certain. It is a rule of XML that ampersands have to be escaped as "&amp;", so yes, it would be a good idea to follow that rule.
[ September 18, 2006: Message edited by: Paul Clapham ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic