Thread: Read XML value

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    1
    Rep Power
    0

    Read XML value


    Hello,

    i have following xml file:

    <request>
    <F>property1=value1<F>
    <F>property2=another xml<F>
    </request>

    So the value of property2 is another xml. I want to read the whole line (<F>property2=another xml<F>)as String. I dont want that it is parsed.
    Basicly i know how to read a xml in perl, but for this speacial case i have no idea.
    Any suggestion?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Posts
    830
    Rep Power
    496
    I don't understand. What information exactly you you want to get? How are you reading your file at present? What output do you want, if any?

IMN logo majestic logo threadwatch logo seochat tools logo