Improve XWatch
Posted: Fri Nov 23, 2007 6:16 am
It would be great if it was possible to call xslt-2.0 functions (ie ones declared in the stylesheet using <xsl:function>) from the XWatch window.
Also, I frequently use entities to replace repetitive or verbose XPath expressions with shorter more meaningful names.
This works nicely, until I need to examine one of my expressions using XWatch (which doesn't dereference the entity). It would thus be great if I could use the same entities in XWatch that I have available in the stylesheet. I realise that this is not necessarily straightforward, since different stylesheets in the same execution instance may potentially use different or even conflicting entities. I think that the most intuitive process for this would be to resolve entities only once (not every time the XWatch expression is executed), and to do so using the most recently focused stylesheet.
Regards,
Joe.
Also, I frequently use entities to replace repetitive or verbose XPath expressions with shorter more meaningful names.
This works nicely, until I need to examine one of my expressions using XWatch (which doesn't dereference the entity). It would thus be great if I could use the same entities in XWatch that I have available in the stylesheet. I realise that this is not necessarily straightforward, since different stylesheets in the same execution instance may potentially use different or even conflicting entities. I think that the most intuitive process for this would be to resolve entities only once (not every time the XWatch expression is executed), and to do so using the most recently focused stylesheet.
Regards,
Joe.