Could the developers look into re adding xml into [0.4]
Wiki examples that were in a previous VCMP
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/XmlDocument/XmlDocument
Its there in SLC's plugin. Use that if you want XML, JSON, INI
You could always make yourself a plugin.
Quote from: Thijn on Dec 05, 2016, 04:47 PMYou could always make yourself a plugin.
;D :D ::) :o
That was my reaction Thijn :)
As I really really wish I was that good as I would absolutely just love too.
Since LU is the only of the two to have xml with scripting I have taken advantage of it "Until KAKAN pointing to S.L.C plugin",
While it is fun it is also a nightmare time to time, I have worked on accounting off and on for the past five months but I had lost interest between there is nothing in the wiki and I have had to do a lot of studies and imply it in squirrel.
Example: http://www.tizag.com/xmlTutorial/xmlchild.php
This was only a test on adding to the extensible Markup Language file
I am not really sure if it will ever have a fighting chance for a port.
<Account>
<ID>
<Name>Robert</Name>
<Password>9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684</Password>
<Money>2000</Money>
<Grade>83</Grade>
</ID>
<ID>
<Name>Bob</Name>
<Password>9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684</Password>
<Money>2000</Money>
<Grade>57</Grade>
</ID>
<ID>
<Name>Hector</Name>
<Password>9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684</Password>
<Money>2000</Money>
<Grade>37</Grade>
</ID>
</Account>
The extensible Markup Language was never intended to be pretty.. In other terms for the SQ-Lite fans no browser..
JSON looks better to me. Also, it allows array which XML doesn't.
But on the server side, using XML, JSON and INI should be almost same( I guess so ).
I use array for xml.. That's why I asked http://forum.vc-mp.org/?topic=4010.msg29671#msg29671
:)
That array question completely follows the xml I am working on, So either I am reading wrong or there is more to what you mean??
Why would you choose XML over a proper storage method like sqlite or mysql?
For stuff like maps, server settings, pickup positions it's fine. But if you plan to do anything other then read them one by one you're better of picking a proper storage method.
https://www.tutorialspoint.com/php/php_and_xml.htm
Just another play around script for future play, For what if's etc..
Quote from: Mötley on Dec 05, 2016, 08:31 PMhttps://www.tutorialspoint.com/php/php_and_xml.htm
Just another play around script for future play, For what if's etc..
Im not sure what to do with that link. I know what XMLs are, and how useless they are for storing data like user accounts.
In general it's just a learning experience that should lead me to somewhere else..
That's all:)