DVSL in CVS currently doesn't handle mixed content.

<foo>
before
<bar>inside</bar>
after
</foo>

always renders as "before after inside", and only with the
pseudo-code:

$node.value() $context.applyTemplates()

 Especially frustrating when trying to apply formatting ala HTML and
also inline links.

With 2 minor modifications to DVSLNodeImpl (and perhaps corresponding
changes to DVSLNode interface) :
1. access of makeDVSLNode from private to public
2. a nodes() method which returns an Iterator that wraps the
underlying element.nodeIterator

and the attached vm, rendering of mixed content should work.

Instead of the above code, just use
#renderMixed($context $node)

But since I'm a DVSL newbie, someone please tell me if all this is
unnecessary. :-) Otherwise, I'll be happy to submit patches.

Kelvin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to