I'm trying to break down my presentation template into components. What is troubling me is how to access the child nodes of an dcr node passed into the component template.
The only way I can get it to work is to pass the dcr node to the component template in a list, and then iterate over the list in the component.
In the parent template I have something like...
[html]
...
[/html]
And then in the child template something like this:
[html]
[/html]
It works, but I am only passing one node, so why should I need to enclose it in a list? Surely there is a more elegant and efficient method.
I've searched through the templating help and examples, devnet and support.interwoven.com, but I haven't seen an example anywhere that could help me.
Any help would be greatly appreciated.