Assuming you're using XSL, just copy the entire input source somewhere
in the output document.
<xsl:template match="/">
<blah>
<moreblah>...</moreblah>
<originalblah>
<xsl:copy-of select="/*"/>
</originalblah>
</blah>
</xsl:template>
My XSL is a little rusty, but that is the basic idea.
Jeff Schnitzer
[EMAIL PROTECTED]
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 22, 2003 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: RE: [Mav-user] Question about model in transforms
>
> How would i explicitly pass it? Sorry, i'm a total newbie to Mav. So
far
> I'm loving it though!
>
> Travis
>
>
>
> ---- Original Message ----
> From: "Schnitzer, Jeff" <[EMAIL PROTECTED]>
> Sent: 2003-06-21
> To: [EMAIL PROTECTED]
> Subject: RE: [Mav-user] Question about model in transforms
>
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >
> > Is it possible to access the model in a transform, like in the
> friendbook
> > example, could i access the model in the trim?
>
> Right now, the answer is "not consistently". If you're using document
> views (and transforms) it's pretty easy, but if you're using XSLT the
> data is not available (unless you explicitly pass it through).
>
> I'm not really sure how to make it available, either. I don't think
> it's possible to set the model as a param, and trying to combine the
> original model into the input XML for the transform steps sounds
> perilous.
>
> I'm open to suggestions, but it seems to me like your best bet is to
> explicitly pass the original model through.
>
> Jeff Schnitzer
> [EMAIL PROTECTED]
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting
Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> [INVALID FOOTER]
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting
Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> [INVALID FOOTER]
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
[INVALID FOOTER]