RE: Question on xsl translation of static xml

"Schnitzer, Jeff" <[email protected]> Tue, 30 Sep 2003 11:38:01 -0700
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
> 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]