XML Experts? (was: Code generator for packet classes!)

Hello everybody,

This is a call for XML experts to shed some light on the powers of XML in the context of packet generation.

I myself don’t have a very detailed knowledge of XML but the little I know makes me think that XML in combination with XSL/XSLT would be exactly what we need!

The idea is that we describe the packets in XML and also define an XSL transformation for our data to plain text (C++ code). There definitely would be tools that we could use for rendering the C++ code. As far as I know this (or a similar thing) is already supported by browsers which can render XML documents using a XSL stylesheet.

The good thing is that with this approach we could have the C++ source code for all JXTA messages easily generated as they are readily described in XML! For other protocols we could write the XML descriptions ourselves.

If someone knows more on the topic, please post!

Best regards,

Peter

Would you like to post a relpy?


This post is a reply to:
Code generator for packet classes!
Hello everybody, Yesterday I was chatting with Dimitar Blagoev and he was telling me about some of his work and ideas about code generation tools and how most programmers nowadays are (more...)

Follow-ups:
Re: XML Experts? (was: Code generator for packet classes!)
Hi guys, I think I'm slowly becoming an XSLT expert ;-) Jokes aside, I managed to write .xsl files that transform an XML description of a packet into C++ source and (more...)