Re: beginner q: possible to set extension .xsl as type='xslt' by default?

Jos Snellings <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <CAE-8VNoLN8+M_Uaz2fr6RCETo0t7Xsa7b30X0Dr+230EPdb4Vg@mail.gmail.com>
Dear Tom,

Can you send your sitemap.xmap over?
For cocoon, the default transformation is an xslt.

If you are just starting with a migration, you may want to consider using
cocoon 3, which is at the moment in beta,
but soon the production version will be ready (@others: isn't it ? :-)

Kind regards,
Jos


On Tue, Oct 16, 2012 at 3:55 PM, whatnext <[email protected]> wrote:

>
> Dear learned cocoon users,
>
> Very sorry for the ignorance of this question. Our company has recently
> decided it might be time to move away from AxKit (!) and we are looking at
> the alternatives. Cocoon is an obvious choice. However, I know absolutely
> nothing about it other than a broad idea of what it does.
>
> I have been trying to get Cocoon to serve some of our pages to see whats
> involved.
>
> I followed the instructions at http://cocoon.apache.org/2.2/1159_1_1.html
> and sure enough could display the welcome page.
>
> Next up I tried to display one of our web pages by copying over an .xml and
> related .xsl stylesheets and modifying the sitemap.xmap file.
>
> So then it falls over saying:
>
> Unable to get transformer handler for file:///path/example.xsl ...
>
> If I go into sitemap.xmap and add type="xslt" to the <map:transform src =
> '...'> line then this error seems resolved but then it falls over with
>
> Unable to get transformer handler for file:///path/another.xsl
>
> where another.xsl is referred to by example.xsl. What can be done in this
> case? Is there a way of telling cocoon that it needs to use the xslt
> transformer anywhere it sees .xsl... ? Or am i approaching this in all the
> wrong way etc.?
>
> Many apologies for the elementary nature of this question - I freely admit
> I
> have no idea what I am doing!
>
> Any help appreciated...
>
>
>
>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/beginner-q%3A-possible-to-set-extension-.xsl-as-type%3D%27xslt%27-by-default--tp34563508p34563508.html
> Sent from the Cocoon - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
All generous minds have a horror of what are commonly called "Facts". They
are the brute beasts of the intellectual domain.
-- Thomas Hobbes
 <http://www.brainyquote.com/quotes/quotes/t/thomashobb118630.html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.