I have XML file that describes some embedded components. So the file has different markups that correspond to different fields. The intention behind this project is to generate automatically UI descriptive layouts for those XML files. I saw the seq2seq model here. I was wondering if I can use the same architecture (Encoder-Decoder) to generate HTML files that describe the content of the fields in the XML file.
I haven't seen any examples to predict code using encoder-decoder methods (but you probably can!). However, "The Unreasonable Effectiveness of Recurrent Neural Networks" by Andrej Karpathy outlines how RNN models can be used to generate source code for $\LaTeX$ documents and the Linux kernel, so that method should be just as effective at the HTML/XML task.