I'm doing a lot of javascript at the moment. I find myself wanting
to do something like this:
<xsl:template match="div">
<div id="[EMAIL PROTECTED]">
<div class="slider" id="[EMAIL PROTECTED]"/>
</div>
<xxslt:varsubst>
<script>
var slider = new Slider($("[EMAIL PROTECTED]"),
$("[EMAIL PROTECTED]"));
</script>
</xxslt:varsubst>
</xsl:template>
So the [EMAIL PROTECTED] is interpolated correctly within the xxslt:varsubst
area (that's just an example definition).
Has anybody written an extension element like this or can suggest a
good way of going about it?
Is it a terrible idea?
--
Nic Ferrier
http://www.tapsellferrier.co.uk
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml