Re: [WebDNA] XML Parser
This WebDNA talk-list message is from 2016
It keeps the original formatting.
numero = 113137
interpreted = N
texte = 725Hi Tom,Well hell, I had totally forgotten that WebDNA had that built in! Makes =my question seem silly but thanks for the info!GaryOn 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 theHostName.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][xmlnoderef=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=3DDigital Revolutionaries1st Floor, Castleriver House14-15 Parliament StreetTemple Bar,Dublin 2Ireland----------------------------------------------[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=3DOn 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 tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
725Hi Tom,Well hell, I had totally forgotten that WebDNA had that built in! Makes =my question seem silly but thanks for the info!GaryOn 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 theHostName.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][xmlnoderef=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=3DDigital Revolutionaries1st Floor, Castleriver House14-15 Parliament StreetTemple Bar,Dublin 2Ireland----------------------------------------------[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=3DOn 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 tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug 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:
Buying sans cart (1997)
Searching for the end (1998)
WebCat editing, SiteGuard & SiteEdit (1997)
WebDNA still will not start on restart (2002)
executive server side java within webDNA (1997)
Same Database needed on two machines (2002)
Help name our technology! (1997)
Dynamic PDFs? (2004)
OT: Outsourcing & copyrights (2005)
Sort Order on a page search (1997)
WebCatalog/Mac 2.1b2 New Features (1997)
Can this be done? (1997)
[TaxableTotal] - not working with AOL and IE (1997)
[WebDNA] Date error (2017)
Caching pages...again (2001)
Design Help Needed (1998)
can we get string variables? (1998)
PIXO support (1997)
Quitting WebMerchant ? (1997)
WebCat2b12 - nesting [tags] (1997)