On 11/5/2010 1:15 PM, Vincent Massol wrote:
. . .
A different example of what I'm trying to do, using a syntax flavor closer to the XWiki 2.1 syntax, might be:
Berlin is located in [[Germany>>doc:Main.Germany||property="locatedIn"]] This is a link. If you don't need a link you should instead write:
Berlin is located in (% property="locatedIn" %)Germany(%%)
or
Berlin is located in (% property="locatedIn" %)[[Germany>>Main.Germany]](%%)
Note: This is going to generate a FormatBlock in XDOM, which you can access with Transformation and Macros. This is something I do from Java? Can you point me to where to get started? I've spent a good bit of time with the source code and xwiki.org documentation, but have not yet been able to determine where to get started. :-(
-Mark
Hope it helps, -Vincent