> From: Dan Finkelstein [mailto:[EMAIL PROTECTED]]
>
> As you might guess, I want the faq.xml file to be processed by dvsl
using
> faq.dsvl. Then I want the output processed by velocity using
frame.vm.
I take it frame.vm is a document transform, expecting the previous
output to be $wrapped?
At the moment, there is no way to do multiple transform types - only one
<transform> node is allowed. Thus you can do:
<view path="faq.xml">
<transform type="dvsl">
<path value="faq.dvsl"/>
<path value="someother.dvsl"/>
</transform>
</view>
*or*
<view path="faq.xml">
<transform type="document">
<path value="frame.vm"/>
<path value="someother.vm"/>
</transform>
</view>
But there is currently no way to run a dvsl transform and then run the
output through a document transform.
Running multiple transform types together is actually a rather tricky
problem. The transforms would have to negotiate the optimal mechanism
to pass content - for instance, to pass from xslt to dvsl you would want
to pass DOM objects, but to go from dvsl to document you would want a
text stream. Xslt to xslt is most efficient with SAX events.
Perhaps for Maverick 3.0 :-)
Jeff Schnitzer
[EMAIL PROTECTED]
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user