Hello all,

I´m a novice in cocoon.
Does someone know, if it is possible to return a stylesheet (in a pipeline
or wherever) to be applied after a node is examined ?
Prelimary note is that within a folder several (without having a naming
convention for different files) files exists that should be styled by
different stylesheets.

Folder XYZ
      |_ Doc 1 should be styled with myStyleA
      |_ Doc 2 should be styled with myStyleB
      |_ Doc 3 should be styled with myStyleB
      |_ Doc 4 should be styled with myStyleA
      ....
      |_ Doc n should be styled with myStyle-xyz

Within a Document a stylesheet reference was set as:
e.g
-----------------------------------
Doc 1
<Document>
...
   <stylesheet>myStyleA</stylesheet>
...
</Document>
-----------------------------------
-----------------------------------
Doc 3
<Document>
...
   <stylesheet>myStyleB</stylesheet>
...
</Document>
-----------------------------------

Could something be returned to be evaluated later by a matcher  ? Could a
generator return a variable that could be used map:transform ?
How could I apply a certain stylesheet ?

Thanks in advance for a solution.

Schöne Grüße / Best Regards
Michael Halstrick
-----------------------------------------------
Michael Halstrick
BASF IT Services GmbH


Phone: +49 2501 14-2009, Mobile: +49 172 7424849, Fax: +49 2501 14-2099,
E-Mail: [EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, EC-QB - Muenster, 48165 Muenster,
Germany


www.basf-it-services.com


BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Andreas Biermann, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to