What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Splitting XML files

bobbob

New Member
Joined
Jan 15, 2010
Messages
72
Reaction score
0
Hey,

Just wondered if there is anyway to split a HB profile up over multiple files. For example I would like to have a root file which when run can call other xml files and include them. The reason I want to do this is I find it easier to manage a large questing profile when it is logical split into parts.

If this is not possible, bummer. If it is possible how is it done?

Thanks in advance.
 
From what your saying essentially is what multiple profiles do now anyway.

ex: botlvl1-40.xml
you want it to be botlvl1-20.xml / botlvl20-40.xml but you only want to load 1-20 and have to automatically switch to 1-40?

I find a large xml file much easier to manage than multiple files due to the chance of errors popping up in more than 1 file.
 
bobbob said:
Just wondered if there is anyway to split a HB profile up over multiple files
Although it would be convenient, Honorbuddy gives us no way to do this at the moment. I assume you're talking something like:

PHP:
<QuestOrder>
    <If Condition="Me.Race == WoWRace.Gnome">
        <Include "StarterArea-Gnome 1-5.xml" />
    </If>

    <If Condiiton="Me.Race == WoWRace.Human">
        <Include "StarterArea-Human 1-5.xml" />
    </If>
</QuestOrder>

It would sure make things easier to maintain. :) But 'include' facilities bring a whole world of their own problems to the party.

garoboldy said:
From what your saying essentially is what multiple profiles do now anyway
^This^ is the answer we have for today. Submit an enhancement request through BugTracker if you feel strongly about the issue.

cheers,
chinajade
 
Last edited:
you want it to be botlvl1-20.xml / botlvl20-40.xml but you only want to load 1-20 and have to automatically switch to 1-40?

Not neccerly load at different times. They both could load at the start.

Example. File A contains reference to File B and C. File B = "jeff " File C = "West". When HB would run the root profile it would get "jeff West". Regardless thanks for the replies.
 
Back
Top