| | |
converting exe into xml
Please support our XML, XSLT and XPATH advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Black magic perhaps?
You can't convert a binary executable file into an XML file. Of all the things XML may be, a programming/compilable language it is not. Perhaps you could get a script interprettor that worked with XML, but a translator from an EXE would be another matter entirely.
You might be able to convert a database into XML though. I imagine there are tools to do that, and it could even be done manually. I wouldn't advise it personally, because a straight 'translated' XML version of a small database (just tables without relationships) would be much larger than the original database, and cross-hierachy relationships (i.e. relationships beyond the obvious structure of a document) aren't easy to express using XML.
You can't convert a binary executable file into an XML file. Of all the things XML may be, a programming/compilable language it is not. Perhaps you could get a script interprettor that worked with XML, but a translator from an EXE would be another matter entirely.
You might be able to convert a database into XML though. I imagine there are tools to do that, and it could even be done manually. I wouldn't advise it personally, because a straight 'translated' XML version of a small database (just tables without relationships) would be much larger than the original database, and cross-hierachy relationships (i.e. relationships beyond the obvious structure of a document) aren't easy to express using XML.
Plato forgot the nullahedron..
You can easily transmit binary content in XML, just pack it inside a PCDATA section.
Won't be much help on the receiving end though in this case.
OP seems unaware of what A) webservices are, B) what databases are, and C) how to use either.
Won't be much help on the receiving end though in this case.
OP seems unaware of what A) webservices are, B) what databases are, and C) how to use either.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Well. CDATA, and I suppose PCDATA also (I didn't even know that existed) are blocks within an XML file that are declared as 'deviant' from the natural XML format.. So If you put your dlls or whatever into an XML file, that wouldn't be converting them into XML, it would be wrapping XML tags around them and saving them as XML.
What you want to do avani, doesn't make a whole lot of sense right now. Why do you want to send DLLs in XML messages? There is probably a more normal solution to what your trying to do, i.e. loading a local DLL based on instructions in XML messages, or initializing the download of a DLL based on instructions in an XML message.
Although I suppose you could theoritically 'paste' program code inside XML and send it around, you cannot convert the syntax of a compiled DLL/EXE (or most compilable source code) into the syntax of an XML file. There's too many reasons why not.
What you want to do avani, doesn't make a whole lot of sense right now. Why do you want to send DLLs in XML messages? There is probably a more normal solution to what your trying to do, i.e. loading a local DLL based on instructions in XML messages, or initializing the download of a DLL based on instructions in an XML message.
Although I suppose you could theoritically 'paste' program code inside XML and send it around, you cannot convert the syntax of a compiled DLL/EXE (or most compilable source code) into the syntax of an XML file. There's too many reasons why not.
Plato forgot the nullahedron..
![]() |
Similar Threads
- How to run a *.exe file in Java (Java)
- Creating exe file (VB.NET)
- Tricky one for you - of course with a donation reward. (Windows NT / 2000 / XP)
Other Threads in the XML, XSLT and XPATH Forum
- Previous Thread: Xml file extraction query
- Next Thread: Create proxy class from WSDL (.net & java)
Views: 4327 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for XML, XSLT and XPATH
api blogger blogging code dataset delete development dynamiccreationofnvariablesinxslt error firstthreecharacterofastringrequired flipbook gdata google html include java link linspire linux microsoft news node openoffice overwrite precedence programming rss serialization standards swf template transform variable w3c web xml xmlnotloading xmlonserver xsl xslt






