I am attempting to get my head around using XQuery on a project im working on. One thing that I will need to do is use XQuery to parse an XML model and output plain text (this plain text will actually be C++ code, as the project is to create a XML -> C++ code generator).
It seems pretty straightforward to have it output HTML tags (as ive seen in most examples this is the likely use case for XQuery) by simply adding HTML into your code and surrounding XQuery commands in braces.
Is it possible to do this but rather than have HTML just have plain text?
Note: I am using eclipse with zorba for my XQuery development.
Cheers.