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
