Subject:XSLT Stylesheet Editor Author:Claus Miksch Date:05 Dec 2006 08:03 PM Originally Posted: 05 Dec 2006 07:44 PM
I first posted this by mistake in the Website Feedback forum. Sorry about that.
Anyway, I hope I'm not doing something too silly.
I have been trying to use a template I created for generating an html img tag with xslt. When I try to call the template, or paste the template or anything -Stylus puts several additional namespace declarations in the source. I don't know if its me or what. Help!
I've included everything I'm working with. The image tag file is a template that I pasted into the source.
Hope you can straighten me out.
Subject:XSLT Stylesheet Editor Author:Claus Miksch Date:07 Dec 2006 09:07 AM
I was trying to work in the wyswyg tab. I couldn't get the the template into the transform there so I pasted it directly into the source. When I ran it, -thats when things got strange. One time it put so many namespace declarations in the source that it locked and crashed. I wanted the picture to appear just in front of the "hail."
I would apply-templates|for-each|and it would say "temp1" or "hailPic."
Again, when I ran it, nothing would show in preview and, when I looked at the source, there would be even more declarations!
I couldn't actually find a tool in the wysiwyg tab to apply that template.
As for the base URL issue, I copied the path directly from the source window in the scenario box to the base URL window. Like I mentioned, I keep everything in the same folder. There just seems to be something that I'm doing wrong when it comes to generating attributes for html img tags. I looked at the help program and, as far as I can tell, I'm doing what it says.