Jeff,
I am not using domify as the default-view type...
I just took the maverick.xml from the friendbook-jsp example, and
implemented the xsl transformation as stated
below.
<maverick version="2.0" default-view-type="document"
default-transform-type="document">
<views>
</views>
<commands>
<command type="document" name="testfile">
<view path="data.xml">
<transform path="xslfile.xsl"/>
</view>
</command>
</commands>
</maverick>
I thought that this would work fine, but it just returned the xsl file noted
on the transform path, i guess that i am missing
something on my understanding of Maverick... Could you please point me in
the right direction ?
Regards,
Marco
-----Original Message-----
From: Schnitzer, Jeff [mailto:[EMAIL PROTECTED]
Sent: dinsdag 30 september 2003 20:38
To: [EMAIL PROTECTED]
Subject: RE: [Mav-user] Question on xsl translation of static xml
> From: Marco Pas [mailto:[EMAIL PROTECTED]
>
> i want to do a xml translation on a specific file and am using the
> following
> in my maverick.xml:
>
>
> <command name="testfile">
> <view path="data.xml">
> <transform path="xslfile.xsl"/>
> </view>
> </command>
>
> The problem is that i receive my xsl file and not the transformation..
> Any hints on how to accomplish this ?
This works fine, friendbook-domify has an example.
A guess: Are you using "domify" as the default-view-type? If so, you
need to explicitly set the view type to "document" if you want a
document source.
<view type="document" path="data.xml">
<transform path="xslfile.xsl"/>
</view>
Jeff Schnitzer
[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]