Things are a changing... We will definitely need to compile a FAQ for this
stuff. :)
Nope, no need for domify anymore. In the 1.x framework is made sense (just
kinda fit) to have domify wrap the XML stuff. In 2.x we support
transformations of types other than xslt, and from a domify source, so we
don't need to funnel things through there anymore.
Use the TrivialView type. In the new Transform interface we support passing
in a Node, Reader, or String as the source. So you will need to use one of
those types.
In the new maverick format you will need to do something like this.
<command controller="foo">
<view name="passthrough" type="trivial">
<transform type="xslt">
<path value="one.xsl"/>
<path value="two.xsl"/>
</transform>
</view>
</command>
Note: I've included the type for the view and transform explicitly since you
may have another as default.
I hope this helps,
Scott
----- Original Message -----
From: "Barrie Selack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 12:34 PM
Subject: [Mav-user] Returning an XML document in 2.0
> I'm building an XML document and in 1.x was returning a
> StringReader (via model())to Maverick to domify (a little
> redundant.. but worked) In 2.0 things have changed, how to I
> pass back my XML.. do I still use model, but a different
> data type.. or not use domify at all?
>
> Thanks,
>
> Barrie
>
> _______________________________________________
> Mav-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mav-user
>
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user