Pete_UK 9 Posted October 4, 2014 Report Share Posted October 4, 2014 Did you find anything when testing namespace's Aymen? I've tested a few api feeds from Amazon and get the same issue. Quote Link to post Share on other sites
drhum 3 Posted October 5, 2014 Report Share Posted October 5, 2014 +1 on Namespace. Would be really nice to know if there's a way for it. Quote Link to post Share on other sites
Aymen 385 Posted October 5, 2014 Author Report Share Posted October 5, 2014 Did you find anything when testing namespace's Aymen? I've tested a few api feeds from Amazon and get the same issue. I don't think namespaces are supported in the native System.Xml , but that can be achieved using LINQ , so i'll see about adding a LINQ parser in future updates Quote Link to post Share on other sites
HaHaItsJake 25 Posted October 6, 2014 Report Share Posted October 6, 2014 Just got it today, LOVEEEE IT. Making my life so much easier already. Just been playing around with it and got it to do what I need.BTW: If anyone is trying to search text/value inside the XML from a Table/List use "Contain" and not Compare with $xpath parser. Xpath, if you don't know brings back a full list from ALL elements and just not single/first one like xml parser. I just figured it out. First time with contain always been compare lol. Anywho, hope it's helpful to someone like me. Example Code: (Jacking your #x Dan) Lol (TABLE ATTACHED DOWN BELOW) create table from file("{$special folder("Desktop")}/table.csv", &Table With Data) set(#x, "<?xml version=\"1.0\"?> <AccountDetails> <UserID> <ID>R10985412</ID> <LoginTimes Login=\"23\" UserSince=\"2014/09/23\" LastLogin=\"2014/10/04\"> </LoginTimes> </UserID> <UserID> <ID>R101441883</ID> <LoginTimes Login=\"24\" UserSince=\"2014/09/24\" LastLogin=\"2014/10/05\"> </LoginTimes> </UserID> <UserID> <ID>R103828466</ID> <LoginTimes Login=\"34\" UserSince=\"2014/09/09\" LastLogin=\"2014/10/05\"> </LoginTimes> </UserID> <UserID> <ID>R104950769</ID> <LoginTimes Login=\"44\" UserSince=\"2014/08/25\" LastLogin=\"2014/10/03\"> </LoginTimes> </UserID> <UserID> <ID>R105836511</ID> <LoginTimes Login=\"16\" UserSince=\"2014/09/24\" LastLogin=\"2014/10/04\"> </LoginTimes> </UserID> </AccountDetails>", "Global") set(#Found, 0, "Global") set(#Found_Not, 0, "Global") Finding IN XML(0) define Finding IN XML(#Row) { loop($table total rows(&Table With Data)) { if($contains($plugin function("HTTP post.dll", "$xpath parser", #x, "//ID", "InnerText", "XML"), $table cell(&Table With Data, #Row, 0))) { then { increment(#Found) } else { increment(#Found_Not) } } increment(#Row) } }Regards, HaHaItsJaketable.csv Quote Link to post Share on other sites
Pete_UK 9 Posted November 4, 2014 Report Share Posted November 4, 2014 I don't think namespaces are supported in the native System.Xml , but that can be achieved using LINQ , so i'll see about adding a LINQ parser in future updatesHi Ayman, Any idea when you will be able to look into adding NameSpace support? Thanks. Quote Link to post Share on other sites
addy196 9 Posted January 26, 2015 Report Share Posted January 26, 2015 Hi Aymen, How can I append existing XML File ? I mean When I restart my bot it rewrites my XML File and I loss my previous saved Data in same file, Thanks Quote Link to post Share on other sites
addy196 9 Posted January 26, 2015 Report Share Posted January 26, 2015 I have sorted by my self , Quote Link to post Share on other sites
Monovski 4 Posted October 25, 2015 Report Share Posted October 25, 2015 Just bought please check PM thanks bro Quote Link to post Share on other sites
sunny9495 42 Posted October 27, 2015 Report Share Posted October 27, 2015 Just Purchased,Please Check PM Thanks Aymen Quote Link to post Share on other sites
oricoun 4 Posted January 8, 2016 Report Share Posted January 8, 2016 Is there any way how to put CD DATA into an elements /nodes?/ http://stackoverflow.com/questions/2784183/what-does-cdata-in-xml-mean Thanks Quote Link to post Share on other sites
GoTRooT 4 Posted December 12, 2019 Report Share Posted December 12, 2019 Purchased, cant believe I did not find this before I have been stuck on this for a year! Looking forward to receiving my plugin. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.