Another tweak

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
pdprog
Newbie
Newbie
Posts: 10
Joined: Fri Jun 25, 2004 4:00 am

Another tweak

Post by pdprog » Fri Jul 02, 2004 11:34 pm

The document that the svgExport produces will load in Adobe's svg viewer, but rename it to .xml and MSXML will not load it.

This is due to the dtd declaration at the top. I'm not sure of the "right" answer, but I'd like to request that the output of the <?xml> tag and the <!DOCTYPE tag> be optional. For now, I'm retrieving the svg from TSVGExportFormat and deleting the first two lines. Then I load the doc into MSXML and begin manipulations like changing the height,width and viewBox.

Post Reply