I think OPML export will not get you what you want. I explain why I think this at the end of this post, but up top: a positive suggestion.
Custom Compile might be the answer for you. I mean, what if we shot for tab-indented text output. Your mindmap software will take that for sure. And we can get within spitting distance of that with Compile. Here are several suggestive Compile settings:
A) Under Compile > Formatting, You can specify for each level of document an indent value not only for the title of the document but also for the content of the document. So you could set the textual content of a document to a level of intent one greater than is the title. You would also need each level of indent to indent by the same unit amount.
B) Under compile >transformations, you can have indents converted to plaintext. (We would need this, so indent levels will not be represented by formatting in the output, but by (detectable, searchable, replaceable) indent characters.)
If you played with these settings, you could get compile output in which the different paragraphs representing title or body text would be space-indented in a way that corresponded to your binder hierarchy but also included (because you included it in your compile) your body text as outline elements. That wouldn’t get us quite home yet, because the indentation is going to be by multiple spaces and that probably won’t get taken in properly by your mindmap software, but it would be an easy matter to do a search and replace (in your word processing program) for every triple of spaces (if that’s what it is) to convert that into a tab. Then you would have a tab-indented text document that you could open in your mind map software.
The main bugaboo here will be that each paragraph of your body text will become a separate child node of the title node of that document and maybe that’s not what you wanted. But I’m sort of figuring that if you’re trying to get the body text of documents to show up in mindmap nodes in the first place, your body text must be very short and reasonably well behaved – – else your mind map software would implode anyway.
I’m not a Compile wizard myself, but these pieces suggest to me that maybe there’s a way for you to get what you want with a little custom compile mojo. And, of course, once you figure out the right settings needed, you can save those Compile settings to call up later.
-Greg
The remainder of this post is my explanation of why OPML export will not give you what you want:
Sounds like you want the document contents to end up being recognized as a child node of the title of the document. Now, when you include the body text in your OPML export, Scrivener includes that text as the value of the ‘note’ property of the title’s node in the outline.*
<outline title="yourDocTitleHere" note="yourBodyTextHere">...</outline>
-
It is entirely unlikely that any mindmap software would interpret a property of a node as instead a child of that node – which is what you are asking for.
-
I think you might reasonably expect that mindmap software that lets you attach arbitrary text notes to nodes (aside from the node text itself) would import the note property of an OPML node as, well, a note. But life is not that sweet. For example, MindJet MindManager is a well-established product and has the note facility, but just tosses the note proprety of OPML imports.
-
In theory OPML is just a particular kind of XML file and so a bit of XSLT code ought to be able to produce for you the output you want. Shouldn’t be a complicated bit of code and could probably be executed just with your browser. So, if a curious coder happens by maybe they will make one for you. BUT since Scriv is stuffing your body text into what is in essence a quote-delimited field, the XML format of your file is almost surely broken – if your body text includes any newline chars or double-quote marks or a host of other otherwise innocent things. Bound to choke up the simple XSLT routine that we dreamed of.
-
Finally, it goes without saying that, if your documents contain very much text at all, your mindmap software would probably implode, because individual mindmap nodes are not really designed to hold large amounts of text. In some programs they cannot even have carriage returns in them.
–Greg (again)
*That will seem an odd choice, but it has to do with the fact that your document contents are not in fact located in the tree topology of the outline at all. OPML does not offer many options here.