www.webdeveloper.com
Results 1 to 2 of 2

Thread: Split XML file based on Tags

  1. #1
    Join Date
    Sep 2013
    Location
    Chennai
    Posts
    1

    Split XML file based on Tags

    Hi All,

    Is there a we could split an XML file based on tags.
    For Ex,I have a variable which stores a set of XML files.
    var result:
    <xml>
    <content>
    </xml>
    <xml>
    <content>
    </xml>
    <xml>
    <content>
    </xml>
    Now my requirement is that, I will have to split this XML file based on </xml> as separate variable.

    As the length of the content is also not fixed, I am unable to use splitText method in JavaScript.

    I appreciate your suggestions, to achieve this use case.

    Thanks,
    Gopal

  2. #2
    Join Date
    Sep 2013
    Posts
    1
    I frankly don't understand what you are talking about, explain a little(much) better, and I might help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles