Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: XML Parsing (2)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML Parsing (2)



If you are going to use Perl:

At 8:59 PM -0700 11/11/03, Nathan Torkington wrote:
From: Nathan Torkington <email@hidden>
Subject: XML::Parser on Panther
Date: Tue, 11 Nov 2003 20:59:48 -0700
To: email@hidden

This is probably blindingly obvious to some, but a life-saver to others. The easiest way to build XML::Parser on Panther is to use the expat that came with the X11 distro.

This did it for me:
  perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include

Nat

Also read about expat:

http://expat.sourceforge.net/

--

Thanks,

James Reynolds
University of Utah
Student Computing Labs
email@hidden
801-585-9811

At 11:08 PM -0600 11/11/03, Dennis Falling wrote:

<Snip>

Basically, I need to parse an XML file and grab some values from it to
create my data.  If an example file would help, try
http://www.csc.tntech.edu/~dat/courses/4240/bn.xml (best viewed in
Firebird- it displays the document tree.)

I'm thinking Perl is probably a good bet--mind you, I mostly just steal bits from people who know what they're doing. But this is the kind of thing Perl is made for.

But what about AppleScript?

http://www.latenightsw.com/freeware/XMLTools2/quickStart.html

L
_______________________________________________
studentdev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/studentdev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
studentdev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/studentdev
Do not post admin requests to the list. They will be ignored.

References: 
 >XML Parsing (2) (From: Dennis Falling <email@hidden>)
 >Re: XML Parsing (2) (From: "Lisa L. Spangenberg" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.