I have a xaml document, with activities for workflow , such as while , forEach , if . I recursively went through this document, and as a result I have a javaScript object, whose properties are nodes of this xaml document, which are also objects (nested xaml nodes of the document). The object looks like this:
If:Object { Then:Object{ While:Object{ ... } } Else:Object{ ForEach:Object{ If:Object{ ... } } } } I need to display this in the form of html with saving attachments for if, else, etc. blocks.
How it will look not so important, the main investment. For example:
<div class="if"> <div class="then"> <div class="while> </div> </div> <div class="else"> <div class="forEach"> <div class="if"> </div> </div> </div> </div>