Results 1 to 1 of 1

Thread: [2005] Recursive xml function

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2008
    Posts
    1

    [2005] Recursive xml function

    Greetings!

    I have attached a couple of files to backup this post...

    The problem i'm currently having is that I have an xml-structure, a result from a flex application.

    the structure of the xml can change constantly, so I don't know how many nodes will be in the xml...

    while the xml is being parsed, I should take the information located in the style-attribute of the current node and place the necessary information like font-size, font face etc in the right place and create a string like in the IndesignStylesheet.txt...

    So:

    loop trough every node, check for childnodes as deep as you can...
    filter out the style attribute and create a string like in the IndesignStylesheet.txt file...

    don't need a fully working/finished code, but a recursive function would be awesome!!

    Thanks you guys!
    Attached Files Attached Files

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