In the current version, 1.0.1, if you pass an existing DOM Node in as
the model it is passed thru to the pipeline as is.

So if your controller returns a DOM Node as the model, and you have a
configuration something like below, then everything will work just fine.

<command name="test1">
  <controller type="passXMLModelController" />     
  <view>
   <domify node="stuff">
    <transform path="pass1.xsl" /> 
    <transform path="pass2.xsl" /> 
   </domify>
  </view>
  </command>


Note: You can also pass an InputStream or Reader along and it will be
left alone.

I hope that helps,
Scott
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Gerald de
Jong
Sent: Monday, January 07, 2002 7:51 AM
To: [EMAIL PROTECTED]
Subject: [Mav-user] sans domification?

hi guys!

i'm going to be applying maverick to a situation in which the
controllers
interact with the backend using XML.  needless to say, the models can
then be
plain old DOMs, and bean domification is not necessary.  can i do this
easily
with the current version, or would it be better to wait for the more
pluggable version coming out?

--
Beautiful Code BV
Rotterdam, The Netherlands
http://www.beautifulcode.nl

_______________________________________________
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

Reply via email to