Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] ANN: Updated XProc tutorial

From: Ken Starks <ken@---------.-----.--.-->
To: "Costello, Roger L." <costello@-----.--->
Date: 5/11/2009 12:42:00 PM
Costello, Roger L. wrote:
> Hi Ken,
>
>   
>> If you know Cocoon, how would you compare them ?
>>     
>
> Sorry, I don't know Cocoon. Perhaps others on the list do? Can you characterize Cocoon's pipeline capabilities?
>
>
> /Roger
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
>
>   
It has XML to XML processing in the middle, which is called the
'Transform' stage.
There is also the possibility of some Java being called there, using 
'sitemap variables'.
You get access to such things as cookies, session variables, browser 
variable, and so on.

At the end you get a choice of 'Serializers' which can turn your XML 
into non-XML formats
(for example PDF, html, rdf, spreadsheet, tsv, Midi, ... )

At the start, you also have a large variety of non-XML inputs, if you 
don't wish
to start with XML. These are called 'generators' and produce XML for
consumption by the Transform stage or stages.
For example relational database queries, traditional cgi-style submits,
directory listings ...

Each sitemap consists of a lot of these, chosen by something called a 
matcher,
which looks at the url that the user typed in and decides which one to 
use. These
matchers match a static value, or two kinds of wildcard, or a regular 
expression.

The Cocoon documentation is not its strong point, to say the least.
but here, to save you a frustrating time searching around, are
three get-you-going links:

1. SAMPLES (online) from Cocoon version 2.1.10:
http://cocoon.jsp-servlet.net/samples/hello-world/
(I recommend the Hello World and Internationalization samples.
The Internationalisation sitemap is quite good - scroll down to the
'pipelines' part and you may be able to see the basic ideas)

2. Summary of main features of Cocoon
http://cocoon.apache.org/2.1/features.html

3. If you click on 'Documentation' on http://cocoon.apache.org/2.1/
the menu opens out to the next level, but nothing else happens.
Keep clicking until you get a reaction in the main window, and then 
explore ...

e.g.  Documentation --> Overview --> (on that page ) Overview of XML
document processing [Understanding Cocoon]
which leads to a more thorough explanation with diagrams of the sitemap
concept and more at
http://cocoon.apache.org/2.1/userdocs/concepts/index.html

In spite of the fact that I really like Cocon 2.1.11 , I might 'jump 
ship' to XProc
rather than moving on to cocoon 2.2 which I don't much like.


Yours Sincerely,
Ken.


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent