Hi,
In Styler 6.0 using APP formatting, I'm trying to extract the
contents of a part title to a running header reference like this:
var ref = new fRunningHeaderReference;
ref.groups = fRunningHeaderReference.GROUP_2;
ref.extractText = false;
ref.text = formatting.evaluateXPath('string()');
//ref.text = formatting.evaluateXPath('string(@navtitle)');
formatting.addReference(ref);
I tried this in a "title in part" context, which is how it
appears in the resolved document, and also in part (when I try
to grab the navtitle attribute).
When I try to use the text that was (hopefully) extracted,
in a page region with this code:
var text = formatting.evaluateRunningHeader(2,"editorDom0",1,0,0,20);
I end up with this string being displayed in the region:
/RDStyle/ResolvedMap
Is there a problem using these running header references with
a resolved DITA document?
Thanks,
Richard