Welcome! Log In Create A New Profile

Advanced
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst
February 03, 2013 06:24PM
An xml standard allows one to write stuff like the below (it make parts.lst from parts.xml).
# use module
use XML::Simple;

# create object
$xml = new XML::Simple;

# read XML file
$data = $xml->XMLin("parts.xml");
@PEArray = @{$data->{"PartEntry"}};

foreach $Indx (0..$#PEArray) {
    print( sprintf("%-27s", $PEArray[$Indx]->{"Filename"})
	   .$PEArray[$Indx]->{"Description"}."\n" );
}
SubjectAuthorViewsPosted
[Thoughts wanted] Parts.xml - xml improvement on Part.lst Attachments Tim Gould473February 02, 2013 03:09PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould193February 02, 2013 03:30PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Michael Heidemann183February 02, 2013 03:50PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould192February 02, 2013 04:10PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Allen Smith211February 02, 2013 04:39PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould206February 02, 2013 04:49PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Attachments Allen Smith203February 04, 2013 09:14AM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould217February 04, 2013 01:44PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Steffen215February 02, 2013 05:52PM
Re: [Thoughts wanted] Parts.xml - xml improvement on Part.lst Tim Gould208February 02, 2013 07:58PM
[Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Attachments Tim Gould217February 02, 2013 09:52PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann210February 03, 2013 12:46AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould240February 03, 2013 04:02AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould209February 03, 2013 04:08AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann236February 03, 2013 04:29AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould187February 03, 2013 01:11PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Attachments Michael Heidemann194February 03, 2013 02:58PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould183February 03, 2013 03:07PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann173February 04, 2013 09:06AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Travis Cobbs186February 03, 2013 06:06PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould190February 03, 2013 06:10PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould220February 03, 2013 06:24PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Steffen190February 06, 2013 04:37PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould200February 06, 2013 04:44PM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Michael Heidemann189February 07, 2013 08:42AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Roland Melkert185February 07, 2013 10:24AM
Re: [Thoughts wanted] UPDATE: Parts.xml - xml improvement on Part.lst Tim Gould177February 07, 2013 12:55PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould195February 03, 2013 04:43PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould211February 03, 2013 06:06PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Travis Cobbs242February 03, 2013 06:17PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould236February 03, 2013 06:26PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann216February 04, 2013 09:17AM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould236February 04, 2013 01:41PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann246February 04, 2013 02:02PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould239February 04, 2013 02:32PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Roland Melkert232February 07, 2013 10:42AM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould198February 07, 2013 01:12PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Steffen212February 06, 2013 04:49PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould195February 06, 2013 05:47PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann184February 07, 2013 09:13AM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould195February 07, 2013 01:07PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann183February 07, 2013 01:38PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Tim Gould207February 07, 2013 01:53PM
Re: [Thoughts wanted] V3 - Parts.xml - xml improvement on Part.lst Michael Heidemann294February 07, 2013 02:17PM



Sorry, only registered users may post in this forum.

Click here to login