SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: convert to xml

  1. #1
    SitePoint Addict
    Join Date
    Jun 2008
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    convert to xml

    Please give me some idea of how to convert the data in this format to XML format

    Code:
    [DATA]
    data1
    [ENTRY]
    entrying here
    [STORY]
    story details
    where the output looks like this

    Code:
    <?xml version="1.0"?>
    <DATA>data1</DATA>
    <ENTRY>entrying here</ENTRY>
    <STORY>Story details </STORY>

  2. #2
    om nom nom nom Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,233
    Mentioned
    47 Post(s)
    Tagged
    1 Thread(s)
    You were told here to give a more concrete example of your data, and what you've tried (or were looking at trying). Though the CPAN suggestion is a good one if there's no obvious reason why you can't use it. CPAN modules are great. It's Code You Don't Have To Write : )

    So if you are looking for more/different answers here, likely we'd also need more information as well. So go ahead and post it.


Bookmarks

Posting Permissions

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