Colin Paul Adams wrote:
    Tim> In the sitemap for the sample forms:
    Tim> C:\tdl\live\repo\cocoon\cocoon-2.1\src\blocks\forms\samples\sitemap.xmap
    Tim> you will see transformer lines like this: <map:transform
    Tim> src="resources/forms-samples-styling.xsl"/> that refer to the
    Tim> stylesheets here:
    Tim> cocoon-2.1\src\blocks\forms\samples\resources

    Tim> HTH, --Tim Larson

Not really Tim.
I saw all those.
But they seem to be samples, specific to the specific examples.
At least, that is how I read them.

The forms-samples-styling.xsl file *is* actually generic and is what you want to use, either as-is or as a starting point for your own transformations. There is nothing in them that is specific to the examples that come with CForms.


The documentation was saying you DON'T have to write individual
stylesheets for each form.
If that is correct, then what stylesheet DO you use?

You can use forms-samples-styling.xsl or you can write your own equivalent. The point that the sentence you're referring to was making is that you only have to write one XSL file and it will be applicable to all of your forms, rather than having to write one XSL file for each of your forms (where each of the XSL files would be very similar to all the others).


Hope that clarifies it a bit for you!

Vil.
--
            __
   o|   _. /  \|o._  _  _ ._  _  ._  _ _|_
\/ ||\/(_|| (|/||| |(/_(_)| |(/_o| |(/_ |_
     /     \__
http://website.lineone.net/~vilya

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



Reply via email to