Jump to content

Convert Dot File To Xml

Recommended Posts

What is a .dot file? What does it contain? In what kind of an XML file you want it (after all, XML can take many forms)?

Link to post
Share on other sites

Well then, that's a huge format...There's WebDot, which can translate .dot files to SVG. SVG is an XML based format, so that's a good place to start from. The conversion to HTML is practically impossible - you're better of using either the SVG image (for browsers that can display it) or use WebDot to generate a PNG image (supported in all modern browsers). For converting to Excel... I'm not sure if such graphics can be mapped to Excel (Excel uses tables, and these graphics uses hierarchies), but if you have an idea as to what maps where, you can use PHP. With it, you can read the SVG graphic with DOM, and use the COM class to create a new Excel spreadsheet and write to it accordingly.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...