------------------------------Hey folks!=C2=A0 I hope that everybody is doing well=, it's been awhile (again).
=C2=A0
I've got a little project that I volunteered for= at work andthat is to make sense of some XML that is gathered on PC workstations for o=ursales team so that they can present the findings (for compatibility reasons=) toclients.=C2=A0 Before I began the project, I thought I'd ask you fine f=olks ifanybody has some ready-made XML parsing scripts already created that I coul=dperhaps borrow or purchase?=C2=A0 Thought it'd save some time though I&=#39;m sure that Icould stumble through it if nothing is ready made.
=C2=A0
For reference, the XML is simple and is saved to a f=ile withoutput such as:
=C2=A0
=C2=A0=C2=A0=C2=A0 <Workstation>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <HostName>OP2&l=t;/HostName>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Processorname>=Intel(R) Core(TM) i5-3470 CPU @3.20GHz</Processorname>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <ProcessorSpeed>=;3.201</
ProcessorSpeed> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <ProcessorCores>=;4</
ProcessorCores> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Architecture>6=4</
Architecture> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <OperatingSystem&g=t;Microsoft Windows 7Professional </OperatingSystem>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Ram>3</Ram&=gt;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <FreeSpace>860&=lt;/FreeSpace>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <GraphicsCard>I=ntel(R) HDGraphics</GraphicsCard>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <GraphicsMemoryinG=B>1</
GraphicsMemoryinGB> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <DotNetVersion>=4.5.2 orlater</DotNetVersion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <LastWindowsUpdate=>2016-09-3017:55:03</LastWindowsUpdate>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <IsVirtualMachine&=gt;False</
IsVirtualMachine> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <LANSpeed>100&l=t;/LANSpeed>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <CurrentSidexisVer=sion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </CurrentSidexisVe=rsion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <ImagingPluginType=>No PluginInstalled</ImagingPluginType>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <PluginVersion>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </PluginVersion>=;
=C2=A0=C2=A0=C2=A0 </Workstation>
=C2=A0=C2=A0=C2=A0 <Workstation>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <HostName>OP4&l=t;/HostName>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Processorname>=Intel(R) Core(TM) i5-4590 CPU @3.30GHz</Processorname>
.....etc
=C2=A0
Feel free to email if you prefer or if there's s=ome tipsfrom the pro's.=C2=A0 I imagine a lot of [listwords] commands being use=d here-
=C2=A0
Thanks!
Gary---------------------------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.us Bug Reporting: suppo=rt@webdna.us
|
------------------------------Hey folks!=C2=A0 I hope that everybody is doing well=, it's been awhile (again).
=C2=A0
I've got a little project that I volunteered for= at work andthat is to make sense of some XML that is gathered on PC workstations for o=ursales team so that they can present the findings (for compatibility reasons=) toclients.=C2=A0 Before I began the project, I thought I'd ask you fine f=olks ifanybody has some ready-made XML parsing scripts already created that I coul=dperhaps borrow or purchase?=C2=A0 Thought it'd save some time though I&=#39;m sure that Icould stumble through it if nothing is ready made.
=C2=A0
For reference, the XML is simple and is saved to a f=ile withoutput such as:
=C2=A0
=C2=A0=C2=A0=C2=A0 <Workstation>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <HostName>OP2&l=t;/HostName>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Processorname>=Intel(R) Core(TM) i5-3470 CPU @3.20GHz</Processorname>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <ProcessorSpeed>=;3.201</
ProcessorSpeed> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <ProcessorCores>=;4</
ProcessorCores> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Architecture>6=4</
Architecture> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <OperatingSystem&g=t;Microsoft Windows 7Professional </OperatingSystem>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Ram>3</Ram&=gt;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <FreeSpace>860&=lt;/FreeSpace>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <GraphicsCard>I=ntel(R) HDGraphics</GraphicsCard>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <GraphicsMemoryinG=B>1</
GraphicsMemoryinGB> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <DotNetVersion>=4.5.2 orlater</DotNetVersion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <LastWindowsUpdate=>2016-09-3017:55:03</LastWindowsUpdate>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <IsVirtualMachine&=gt;False</
IsVirtualMachine> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <LANSpeed>100&l=t;/LANSpeed>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <CurrentSidexisVer=sion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </CurrentSidexisVe=rsion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <ImagingPluginType=>No PluginInstalled</ImagingPluginType>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <PluginVersion>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </PluginVersion>=;
=C2=A0=C2=A0=C2=A0 </Workstation>
=C2=A0=C2=A0=C2=A0 <Workstation>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <HostName>OP4&l=t;/HostName>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Processorname>=Intel(R) Core(TM) i5-4590 CPU @3.30GHz</Processorname>
.....etc
=C2=A0
Feel free to email if you prefer or if there's s=ome tipsfrom the pro's.=C2=A0 I imagine a lot of [listwords] commands being use=d here-
=C2=A0
Thanks!
Gary---------------------------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.us Bug Reporting: suppo=rt@webdna.us
DOWNLOAD WEBDNA NOW!
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...