(Apologies if this seems way OT, but I'm hoping there's an XML guru in the audience...)
I've been toying with some mechanism to map the SQL used by DBD::Chart into an XML-based description (which may seem odd, though I think it has some value for defining templates for chart properties (ala CSS's), submitting requests to a "plot server" via SOAP, embedding chart descriptions in ASP's/JSP's that get filled with real-time data, etc.) Is anyone aware of an XML DTD for describing properties of charts/graphs ? I'm aware of the SVG DTD, but that's signifcant overkill and far too generalized for the applications I'm thinking of (esp.wrt DBD::Chart, or any of the other Perl graphing pkgs). I'm thinking along the lines of describing the chart properties like image format, X andY axis titles, size, etc. It could optionally include the the actual datapoint information, but its primary purpose is to describe a template from which I could generate a DBD::Chart SQL command. (Note that in some sense this is very similar to mapping any arbitrary DBMS table metadata into XML.) Any pointers would be much appreciated. TIA, Dean Arnold
