AnsweredAssumed Answered

Searching Mind Maps Through Content Transformations?

Question asked by vrothenberg on Feb 28, 2013
Latest reply on Mar 19, 2013 by mlauer
I'm looking for a way to index the contents of .mm files on Alfresco 4.1 for Windows 7 so I can search within each mind map. So far I've found a promising method below but I can't seem to get it to work:

The best way seems to be extracting each .mm file's text by getting the values of each node's text attribute. An XSLT in the method posted renders all the text clearly in a web browser after renaming the mind map to an xml, then adding the xml prologue and stylesheet tags. Can't seem to figure out a more elegant solution so Alfresco searches each mind map as if it were an XML, yet still returns an .mm file. The method I've already found suggests using xmlstarlet from within Alfresco's RuntimeExecutableContentTransformer bean. However this resulted in a server missing resource error when I tried it on Windows.

Does anyone have a step by step process for implementing full text searching of mind maps through content transformers?

Greatly appreciate any kind of help you may have.