Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-incubator-dev] NodeSets in XSL Tools Debugger

I've implemented some very basic support for allowing XSL Variables that are NodeSets to be expandable from within the debugger. It's at the very early stages, and still needs some more work, but it's showing some promise.

One of the issues I'm running into, and hopefully Doug has some ideas besides what I've done so far, to get this working better. Right now the XSL Tools Debugger is always expecting a string coming back with some additional information in a key value pair, in the form:
variable&value

This works well for strings, integers, etc, but doesn't work well for Nodesets which contain multiple values and nesting. To get around this limitation, I've serialized the NodeSets into XML and transmit that as the value. Then when creating the XSLVariable and the XSLValue, I create a specialized NodeListVariable and a corresponding XSLValue for the debugger to display. It seems to work alright, but I have some more work to do.

Doug have you had any thoughts on how you wanted to implement this, or is serializing this and then building the correct information the best way to proceed with this?

Dave




Back to the top