permaculture playing cards
The moose likes XML and Related Technologies and the fly likes iFrame in xsl file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "iFrame in xsl file" Watch "iFrame in xsl file" New topic
Author

iFrame in xsl file

nuthan kumar
Ranch Hand

Joined: Feb 14, 2006
Posts: 47
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

Joined: Oct 14, 2005
Posts: 19693
    
  10

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iFrame in xsl file
 
It's not a secret anymore!