Results 1 to 6 of 6

Thread: Xml to plain text

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139

    Xml to plain text

    any active x which can do that

    or anyother xml pharsing routine ?

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Have a look at www.componentsource.com There's bound to be something there.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139
    thanks ,

    sorry i didn't gave you guys all the details,what happening is that i get a small file not too big 50 -60 lines and i need to extract one line from that and use it to do some operations on a real time db

  4. #4

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You could use XSLT, but it probably is overkill.
    A simple regular expression replacement on the XML file would do. Like this:
    "<[^>]*>" -> ""
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Oh, and then you'd have to convert character references.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width