I have data template dt1 in sitecore that has the field ‘header’ in section ‘data’. I also have data template dt2 that has the field ‘header’ in section ‘portal’ Finally I have data template dt3 that uses both dt1 and dt2 as base templates.
How can I, in xslt, find the content of portal/header?
In my code, when I write <sc:text field=’header’ />, I get the content of data/header (since this node comes first). I know how to do this in .net, but I need to use xslt.
/callprat
You can’t.
And frankly I don’t know of any supported way to do it from .NET either.
This, straight out of the Data Definition Reference, section 2.1.1