If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
XML Document Rubies
18 posts
• Page 2 of 2 • 1, 2
Re: XML Document Rubies
Sounds good!
When you are done with that ill release modules sp that als users are able to work with it
Regards
When you are done with that ill release modules sp that als users are able to work with it
Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: XML Document Rubies
chackl wrote:When you are done with that ill release modules sp that als users are able to work with it
That sound great - really appreciate your help with this!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: XML Document Rubies
Hello Trog
Did you work on any update until yet?
Regards
C.Hackl
Did you work on any update until yet?
Regards
C.Hackl
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: XML Document Rubies
Hi There,
Don't worry - I haven't forgotten. Finally summer arrived and we had some beautiful weather; so I've been out and about getting some sun, and taming the jungle in my back yard! Looks like the rain is back this weekend, so I'll be getting stuck into some Ruby again.
Don't worry - I haven't forgotten. Finally summer arrived and we had some beautiful weather; so I've been out and about getting some sun, and taming the jungle in my back yard! Looks like the rain is back this weekend, so I'll be getting stuck into some Ruby again.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: XML Document Rubies
No problem - more sun is just one reason for me to stay inside the house - like a nerd ^^
We also have it warm here at the moment so i also just relax - so take you time
Regards
We also have it warm here at the moment so i also just relax - so take you time
Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: XML Document Rubies
Dealing with my first parsing of XML files.
Doing it all in 'Green', with a bit of RUBY interspersed.
I don't recall who created a 'Stride Get Column' module [maybe TROG from his toolkit], but I've been using that to help separate the various components. Seems to be working for about 80% of the XML's I've tested. Going to need a 100% solution, but there are some variations between the files [that I didn't expect].
I hope this topic gets revisited, and part 2 of the 'learning course' would still be happening
Doing it all in 'Green', with a bit of RUBY interspersed.
I don't recall who created a 'Stride Get Column' module [maybe TROG from his toolkit], but I've been using that to help separate the various components. Seems to be working for about 80% of the XML's I've tested. Going to need a 100% solution, but there are some variations between the files [that I didn't expect].
I hope this topic gets revisited, and part 2 of the 'learning course' would still be happening
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: XML Document Rubies
Not forgotten...
...but yes, I have put it to one side for a little while - partly holidays, nice weather etc.; also some other things I've been working on that I needed more urgently for current projects - some which I hope will link in nicely with the XML stuff, it's a nice readable format that I'd like to use for many other kinds of data management and storage.
..back soon....
...but yes, I have put it to one side for a little while - partly holidays, nice weather etc.; also some other things I've been working on that I needed more urgently for current projects - some which I hope will link in nicely with the XML stuff, it's a nice readable format that I'd like to use for many other kinds of data management and storage.
..back soon....
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: XML Document Rubies
Thanks TROG !
I've been 'parsing' through an XML file using 'green' prims ... however, In the mean time, I just can't ignore the power of RUBY. So I've been using a CASE strategy, combined with isolating 'sub-strings' with RUBY. I have a working code ... well, at least it works on my test XML. I'm now finding that there are some variations to some of these XML files that I'm going to use. I'm still hoping for a 'one-size-fits-all' solution ... I'll find out if that is practical.
As there are only 2 primary pieces of data that I need, and they are surrounded with a <HEADER> and a </TAILER>, I'm using the CASE structure as a type of filter. All in all, I may need some 90+ pairs of data [patchname and number].
Another aspect is that it's giving me a chance to work with RUBY. It really helps to have fellow members post code ... many times this is a pure life saver. After seeing solutions to something that I struggled with really helps ... PLUS, I can go to the next stage to further test the original idea I was trying for. Then, I like to go back on my own to see if I can get this RUBY stuff working as I need. My first goal is to get it to work ! It may not be real pretty or optimized ... well, in fact, it can be quite the opposite ! And of course, I've been known to take a poorly coded [but working' piece and ..... TOTALLY break it I guess that when not smart, I've had to draw on 'To STUBBORN to quit'
Anyway ... there ain't nobody around me that has the slightest clue about programming ... nor what I'm working on ... only Youse Guys !
THANKS !!!
I've been 'parsing' through an XML file using 'green' prims ... however, In the mean time, I just can't ignore the power of RUBY. So I've been using a CASE strategy, combined with isolating 'sub-strings' with RUBY. I have a working code ... well, at least it works on my test XML. I'm now finding that there are some variations to some of these XML files that I'm going to use. I'm still hoping for a 'one-size-fits-all' solution ... I'll find out if that is practical.
As there are only 2 primary pieces of data that I need, and they are surrounded with a <HEADER> and a </TAILER>, I'm using the CASE structure as a type of filter. All in all, I may need some 90+ pairs of data [patchname and number].
Another aspect is that it's giving me a chance to work with RUBY. It really helps to have fellow members post code ... many times this is a pure life saver. After seeing solutions to something that I struggled with really helps ... PLUS, I can go to the next stage to further test the original idea I was trying for. Then, I like to go back on my own to see if I can get this RUBY stuff working as I need. My first goal is to get it to work ! It may not be real pretty or optimized ... well, in fact, it can be quite the opposite ! And of course, I've been known to take a poorly coded [but working' piece and ..... TOTALLY break it I guess that when not smart, I've had to draw on 'To STUBBORN to quit'
Anyway ... there ain't nobody around me that has the slightest clue about programming ... nor what I'm working on ... only Youse Guys !
THANKS !!!
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
18 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 98 guests