|
|
|
try this from an ActiveMath that has exampleSrc:
/ActiveMath2/main/copyright.cmd?id=mbase%3A%2F%2FActiveMath_Content_Examples%2Fapplet_example_th%2Fapplet_Result i.e. see the copyright of "Example: applet". The current one shows in the field "Rights": paul I did a quick test and tried to apply Formatter.formatTitle() that is working fine for transformation of TOC titles.
However, formatTitle() checks for an <OMBOJ> tag before it tries a transformation. Also, the preprocessors are not run (intentionally, because we don't want decoration). For your <textref> to work, I assume I need to run the PreProcs? Also, shouldn't there be an <OMDOC> somewhere? No textref is a pure product of XSL... no need for preprocessors.
Preprocessors would be needed if textref to an absolute http url don't produce a link this URL. Preprocessors would also be needed if wishing a picture which I think may be important. Any reason you don't run format(oj-element) instead ?? paul Okay, applying the usual transformation w/o PreProc, I get this output:
> Distributed under When I pipe it though Velocity to resolve the macro, it links to search with the URL as an id... I think <textref> is a bad example, as we interpret it as dictionary links. Wasn't there something like "omlet type hyperlink"? no problem... so textref for absolute URLs don't work anymore.
For a link, one needs an omlet of type hyperlink, which needs preprocessing then! I have commited a changed content for experimenting. paul |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
paul