• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I extract the int value from an xml node/element?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I extract the int value from an xml node/element?


  • Subject: How do I extract the int value from an xml node/element?
  • From: Rick Schmidt <email@hidden>
  • Date: Sun, 26 Jul 2009 01:05:59 -0500

Hi I am trying to extract the value in an XML node/element as an int.  Here
is a snip of what the xml looks like.
 <BlastOutput_iterations>
    <Iteration>
      <Iteration_iter-num>1</Iteration_iter-num>
      <Iteration_hits>
        <Hit>
          <Hit_num>1</Hit_num>
          <Hit_id>gi|229264291|gb|CP001598.1|</Hit_id>
          <Hit_def>Bacillus anthracis str. A0248, complete genome</Hit_def>
          <Hit_accession>CP001598</Hit_accession>
          <Hit_len>5227419</Hit_len>

What I need to get at is the number for <Hit_len> and others in the file.  I
 know this must be an easy thing to do I just cannot find a simple way to do
it.  Any ides...? Thanks

Rick
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How do I extract the int value from an xml node/element?
      • From: Scott Andrew <email@hidden>
    • Re: How do I extract the int value from an xml node/element?
      • From: Quincey Morris <email@hidden>
    • Re: How do I extract the int value from an xml node/element?
      • From: Roland King <email@hidden>
  • Prev by Date: Re: I need a milder application badge (solution)
  • Next by Date: Re: How do I extract the int value from an xml node/element?
  • Previous by thread: Re: NSScrollView Not Updating
  • Next by thread: Re: How do I extract the int value from an xml node/element?
  • Index(es):
    • Date
    • Thread