Re: [WebDNA] XML Parser

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 113137
interpreted = N
texte = 725 Hi Tom, Well hell, I had totally forgotten that WebDNA had that built in! Makes = my question seem silly but thanks for the info! Gary On Wed, 2 Nov 2016 13:14:25 +0000 Tom Duke wrote: Gary, Hi - just use the built-in XML parser. Example below to pull out the HostName. You'll need to isolate each into it's own xmlparse variable= .. - Tom [xmlparse var=3Dxml_var1] OP2 Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz 3.201 4 64 Microsoft Windows 7 Professional 3 860 Intel(R) HD Graphics 1 4.5.2 or later 2016-09-30 17:55:03 False 100 No Plugin Installed [/xmlparse] [xmlnode ref=3Dxml_var1&path=3Dnamed:Workstation/HostName][name]=3D[value][/xmlnod= e] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 2 November 2016 at 12:53, Gary Krockover wrot= e: > Hey folks! I hope that everybody is doing well, it's been a while (aga= in). > > > > I've got a little project that I volunteered for at work and that is to > make sense of some XML that is gathered on PC workstations for our sale= s > team so that they can present the findings (for compatibility reasons) = to > clients. Before I began the project, I thought I'd ask you fine folks = if > anybody has some ready-made XML parsing scripts already created that I > could perhaps borrow or purchase? Thought it'd save some time though I= 'm > sure that I could stumble through it if nothing is ready made. > > > > For reference, the XML is simple and is saved to a file with output suc= h > as: > > > > > > OP2 > > Intel(R) Core(TM) i5-3470 CPU @ > 3.20GHz > > 3.201 > > 4 > > 64 > > Microsoft Windows 7 Professional > > 3 > > 860 > > Intel(R) HD Graphics > > 1 > > 4.5.2 or later > > 2016-09-30 17:55:03 > > False > > 100 > > > > > > No Plugin Installed > > > > > > > > > > OP4 > > Intel(R) Core(TM) i5-4590 CPU @ > 3.30GHz > > .....etc > > > > Feel free to email if you prefer or if there's some tips from the pro's= .. > I imagine a lot of [listwords] commands being used here- > > > > Thanks! > Gary > --------------------------------------------------------- This message = is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: http://mail.webdna.us/list/ > talk@webdna.us Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] XML Parser (Michael Davis 2016)
  2. Re: [WebDNA] XML Parser (christophe.billiottet@webdna.us 2016)
  3. Re: [WebDNA] XML Parser (Donovan Brooke 2016)
  4. Re: [WebDNA] XML Parser ("Gary Krockover" 2016)
  5. Re: [WebDNA] XML Parser (Tom Duke 2016)
  6. [WebDNA] XML Parser ("Gary Krockover" 2016)
725 Hi Tom, Well hell, I had totally forgotten that WebDNA had that built in! Makes = my question seem silly but thanks for the info! Gary On Wed, 2 Nov 2016 13:14:25 +0000 Tom Duke wrote: Gary, Hi - just use the built-in XML parser. Example below to pull out the HostName. You'll need to isolate each into it's own xmlparse variable= .. - Tom [xmlparse var=3Dxml_var1] OP2 Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz 3.201 4 64 Microsoft Windows 7 Professional 3 860 Intel(R) HD Graphics 1 4.5.2 or later 2016-09-30 17:55:03 False 100 No Plugin Installed [/xmlparse] [xmlnode ref=3Dxml_var1&path=3Dnamed:Workstation/HostName][name]=3D[value][/xmlnod= e] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 2 November 2016 at 12:53, Gary Krockover wrot= e: > Hey folks! I hope that everybody is doing well, it's been a while (aga= in). > > > > I've got a little project that I volunteered for at work and that is to > make sense of some XML that is gathered on PC workstations for our sale= s > team so that they can present the findings (for compatibility reasons) = to > clients. Before I began the project, I thought I'd ask you fine folks = if > anybody has some ready-made XML parsing scripts already created that I > could perhaps borrow or purchase? Thought it'd save some time though I= 'm > sure that I could stumble through it if nothing is ready made. > > > > For reference, the XML is simple and is saved to a file with output suc= h > as: > > > > > > OP2 > > Intel(R) Core(TM) i5-3470 CPU @ > 3.20GHz > > 3.201 > > 4 > > 64 > > Microsoft Windows 7 Professional > > 3 > > 860 > > Intel(R) HD Graphics > > 1 > > 4.5.2 or later > > 2016-09-30 17:55:03 > > False > > 100 > > > > > > No Plugin Installed > > > > > > > > > > OP4 > > Intel(R) Core(TM) i5-4590 CPU @ > 3.30GHz > > .....etc > > > > Feel free to email if you prefer or if there's some tips from the pro's= .. > I imagine a lot of [listwords] commands being used here- > > > > Thanks! > Gary > --------------------------------------------------------- This message = is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: http://mail.webdna.us/list/ > talk@webdna.us Bug Reporting: support@webdna.us --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . "Gary Krockover"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] Yet another call for hosts... (2009) RE: [WebDNA] V8.6 FCGI (2018) search question (2001) Size limit for tmpl editor ? (1997) Limiting user access to .tmpl files (1997) Bug in the docs ... (2002) Symantec VIsual Page 1.0.3 (1997) WebCat2 as a chat server? (1997) Associative lookup style? + bit more (1997) PCS Frames (1997) Webcat interfering with Webstar? (1998) For those of you not on the WebCatalog Beta... (1997) HomePage Caution (1997) [WebDNA] New list (2008) About the Allow 'Absolute Path' Prefix (2002) Limit in size of a database (1999) Associative lookup style? (1997) Help! WebCat2 bug (1997) Use WebCat to search files in a folder like a search engine? (2001) WebCat2b13MacPlugIn - More limits on [include] (1997)