Hi,

I'm quite familiar with XSLT.

I am came across a page on the sling website which speaks about this but the page is filed under "Old stuff".

http://sling.apache.org/site/xslt-processing-pipeline.html

Can I still use this though?


Günther


Am 08.09.12 07:35, schrieb Ian Boston:
Hi,

Try using macros with Freemaker[1].
I think you can do the same with Velocity.
The child page re-defines the macro.
Its not quite as elegant as true template inheritance as found in some
other template libraries eg[2]

You could probably do something simular with the jsp include directive.[3]

HTH
Ian


1 
http://freemarker.624813.n4.nabble.com/Fwd-template-inheritance-for-freemarker-td2296583.html
2 http://jinja.pocoo.org/docs/templates/
3 http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html


On 8 September 2012 11:50, Günther Schmidt <[email protected]> wrote:
Hi,

I'm just giving Sling another try, as a cms, since I don't want to use
wordpress, joomla or any of the others.
Getting the hang of sling is gonna cost me some time in any case but there's
one thing I'm wondering about upfront:

Does sling allow to build basic templates, so that I do not need to write
the main, ie. outer html every time?

I'd just like to have one single outer html file for let's say a list and a
detail view.

Günther


--
KMMD IT-Consulting UG (haftungsbeschränkt)
Offenburger Str. 45
68239 Mannheim
Tel: +49-621-4393887
HRB 712101 Amtsgericht Mannheim

Reply via email to