I don't think a xslt helper method is available to retrieve child templates from xslt. You can however write your own xslt extension (method) to retrieve all child templates for a given template.
All templates are stored in cmsTemplate table.
Anyway, I'm curious why you'd need that from xslt? Can you elaborate?
XSLT get child templates from master template
Hey all,
I am trying to get all of my child templates from one of my master templates.
Here is how I have my statement
<!--Internal page templates-->
<xsl:when test="umbraco.library:GetXmlNodeCurrent()/ancestor-or-self::*/@template = 1085">
child of internal template
<xsl:value-of select="bodyText"/>
</xsl:when>
I want to get the child templates of the template 1085 in the example.
Can anyone help please.
thanks.
Carlos,
I don't think a xslt helper method is available to retrieve child templates from xslt. You can however write your own xslt extension (method) to retrieve all child templates for a given template.
All templates are stored in cmsTemplate table.
Anyway, I'm curious why you'd need that from xslt? Can you elaborate?
Cheers,
/Dirk
is working on a reply...