You are Correct, However we need the ability to inject elements to the Xaml, after conversion, and retrieve certain elements from the Xaml, so xps is out of the question, I'm afraid.
Are you familiar with XamlPackage? can u embbed it into the code so we can achive the goal- 'independent xaml' ?
Also, i came across another thread here, http://www.aspose.com/community/forums/permalink/299154/299154/showthread.aspx
I thought this code could help, so i tried running this code, but it fails during "re-parsing":
the line: FixedDocument fixedDoc = (FixedDocument)XamlReader.Parse(xamlString, context); fails.
Weird, but judging by the error that happens because of the 3 dots in the cloud (beginning of the original Docx)
Furthermore, if you remove the dots, the error changes, and is now "object reference.."
Could this code be of any help at all? Can you help with the errors? seems something in the conversion is not right...