Re: [WebDNA] XML Parser

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 113147
interpreted = N
texte = 735 Hi Guys,=20 A little insight into these tools... The XML tools (as well as the = WSDL/SOAP, etc that are not currently working), I believe, rely on = apache=92s xalan & xerces libraries. This is a good opportunity to praise the developers that have worked on = WebDNA over the years=85 they had to customize these libraries to make = them compatible, as apache wasn=92t always updating them. (I don=92t = know the current status) I mention this only because, to rely on these tools, it might be good to = get Chris=92s comments whether these tools are going to be supported = long term. I hope so.=20 Note, I don=92t remember all the ins / outs.. but I=92d hate to see = someone write some code that might not work down the road. Sincerely, Donovan On Nov 2, 2016, at 9:32 AM, Gary Krockover = wrote: > Hi Tom, >=20 > Well hell, I had totally forgotten that WebDNA had that built in! = Makes my question seem silly but thanks for the info! >=20 > Gary >=20 >=20 > On Wed, 2 Nov 2016 13:14:25 +0000 > Tom Duke wrote: > Gary, >=20 > Hi - just use the built-in XML parser. Example below to pull out the > HostName. >=20 > You'll need to isolate each into it's own xmlparse = variable. >=20 > - Tom >=20 >=20 > [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] >=20 > [xmlnode > ref=3Dxml_var1&path=3Dnamed:Workstation/HostName][name]=3D[value][/xmlno= de] >=20 >=20 >=20 >=20 >=20 >=20 > =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 >=20 > On 2 November 2016 at 12:53, Gary Krockover = wrote: >=20 >> Hey folks! I hope that everybody is doing well, it's been a while = (again). >>=20 >>=20 >>=20 >> 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 = sales >> 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. >>=20 >>=20 >>=20 >> For reference, the XML is simple and is saved to a file with output = such >> as: >>=20 >>=20 >>=20 >> >>=20 >> OP2 >>=20 >> Intel(R) Core(TM) i5-3470 CPU @ >> 3.20GHz >>=20 >> 3.201 >>=20 >> 4 >>=20 >> 64 >>=20 >> Microsoft Windows 7 Professional = >>=20 >> 3 >>=20 >> 860 >>=20 >> Intel(R) HD Graphics >>=20 >> 1 >>=20 >> 4.5.2 or later >>=20 >> 2016-09-30 17:55:03 >>=20 >> False >>=20 >> 100 >>=20 >> >>=20 >> >>=20 >> No Plugin Installed >>=20 >> >>=20 >> >>=20 >> >>=20 >> >>=20 >> OP4 >>=20 >> Intel(R) Core(TM) i5-4590 CPU @ >> 3.30GHz >>=20 >> .....etc >>=20 >>=20 >>=20 >> 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- >>=20 >>=20 >>=20 >> 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 >=20 > --------------------------------------------------------- > 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)
735 Hi Guys,=20 A little insight into these tools... The XML tools (as well as the = WSDL/SOAP, etc that are not currently working), I believe, rely on = apache=92s xalan & xerces libraries. This is a good opportunity to praise the developers that have worked on = WebDNA over the years=85 they had to customize these libraries to make = them compatible, as apache wasn=92t always updating them. (I don=92t = know the current status) I mention this only because, to rely on these tools, it might be good to = get Chris=92s comments whether these tools are going to be supported = long term. I hope so.=20 Note, I don=92t remember all the ins / outs.. but I=92d hate to see = someone write some code that might not work down the road. Sincerely, Donovan On Nov 2, 2016, at 9:32 AM, Gary Krockover = wrote: > Hi Tom, >=20 > Well hell, I had totally forgotten that WebDNA had that built in! = Makes my question seem silly but thanks for the info! >=20 > Gary >=20 >=20 > On Wed, 2 Nov 2016 13:14:25 +0000 > Tom Duke wrote: > Gary, >=20 > Hi - just use the built-in XML parser. Example below to pull out the > HostName. >=20 > You'll need to isolate each into it's own xmlparse = variable. >=20 > - Tom >=20 >=20 > [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] >=20 > [xmlnode > ref=3Dxml_var1&path=3Dnamed:Workstation/HostName][name]=3D[value][/xmlno= de] >=20 >=20 >=20 >=20 >=20 >=20 > =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 >=20 > On 2 November 2016 at 12:53, Gary Krockover = wrote: >=20 >> Hey folks! I hope that everybody is doing well, it's been a while = (again). >>=20 >>=20 >>=20 >> 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 = sales >> 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. >>=20 >>=20 >>=20 >> For reference, the XML is simple and is saved to a file with output = such >> as: >>=20 >>=20 >>=20 >> >>=20 >> OP2 >>=20 >> Intel(R) Core(TM) i5-3470 CPU @ >> 3.20GHz >>=20 >> 3.201 >>=20 >> 4 >>=20 >> 64 >>=20 >> Microsoft Windows 7 Professional = >>=20 >> 3 >>=20 >> 860 >>=20 >> Intel(R) HD Graphics >>=20 >> 1 >>=20 >> 4.5.2 or later >>=20 >> 2016-09-30 17:55:03 >>=20 >> False >>=20 >> 100 >>=20 >> >>=20 >> >>=20 >> No Plugin Installed >>=20 >> >>=20 >> >>=20 >> >>=20 >> >>=20 >> OP4 >>=20 >> Intel(R) Core(TM) i5-4590 CPU @ >> 3.30GHz >>=20 >> .....etc >>=20 >>=20 >>=20 >> 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- >>=20 >>=20 >>=20 >> 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 >=20 > --------------------------------------------------------- > 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 . Donovan Brooke

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:

Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com (1997) [WebDNA] WebDNA staging server (2008) Symantec VIsual Page 1.0.3 (1997) Re:Need help... (1997) Problem with summ=T & [sum fieldname=] (2001) Netscape 3.01 can't see db in form (was problems problemsproblems) (1997) redirect from the errorsMessages.db entry (1997) [WebDNA] [thisurlplusget] and [thisurl] - misbehaves (2012) Applescript, WebDNA, and PDF (1997) [redirect] w/o showing args? (1999) Deleting Cookie Problems (2007) SiteEdit NewFile.html ? (1997) WebCat2.0 acgi vs plugin (1997) Great product and great job ! (1997) Help! WebCat2 bug (1997) Modifying order output (1997) SHOWIF/HIDEIF empty fields (2005) WCS Newbie question (1997) MacAuthorize and WebMerchant (1997) Upgrading old WebCat Database Files (1997)