• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Army Builder and XML

  • Thread starter Thread starter egroup at cableinet.co.uk
  • Start date Start date
E

egroup at cableinet.co.uk

Guest
Hi there,

I'm looking at creating a Palm app to use my BFG Rosters without the need of
the Paper. However, I understand that you can save a Roster as XML, but I
would also like any changes I make to the Roster on the Palm to be placed
into my original Roster File.

For example one of my cruisers receives 3 points of damage, I record this on
the Palm when I sync the Palm I would like these 3 points of damage to
appear in the original roster.

Is there anyway that this can be done.

Cheers

Ken
 
The XML output is one-way - out. It's just like printing the roster out. So
there is no way to fold changes back into AB that you make with an external
program. Sorry about that. :-(

Thanks, Rob


At 03:44 PM 6/8/2001 +0100, you wrote:
>Hi there,
>
>I'm looking at creating a Palm app to use my BFG Rosters without the need of
>the Paper. However, I understand that you can save a Roster as XML, but I
>would also like any changes I make to the Roster on the Palm to be placed
>into my original Roster File.
>
>For example one of my cruisers receives 3 points of damage, I record this on
>the Palm when I sync the Palm I would like these 3 points of damage to
>appear in the original roster.
>
>Is there anyway that this can be done.
>
>Cheers
>
>Ken


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
 
One fine day in the middle of the night, Ken Lea
<egroup@cableinet.co.uk> got up to write:

>Hi there,
>
>I'm looking at creating a Palm app to use my BFG Rosters without the need of
>the Paper. However, I understand that you can save a Roster as XML, but I
>would also like any changes I make to the Roster on the Palm to be placed
>into my original Roster File.
>
>For example one of my cruisers receives 3 points of damage, I record this on
>the Palm when I sync the Palm I would like these 3 points of damage to
>appear in the original roster.
>
>Is there anyway that this can be done.

It's certainly technically possible. But... :)

When you save a roster as XML, the format it's saved into can no longer
be read by Army Builder, i.e. AB can't read in the whatever.xml file
that was just created. This means that, unless you want to either a)
Port army builder to the Palm or b) Edit the saved roster files
directly, neither of which are really recommended, you won't be able to
do it. :(

--
'Not Colin' McAlister | License to Skrill
Email: demandred@skrill.org | Visit http://www.skrill.org/ today!
-----------------------------+------------------------------------
"Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time
 
Cheers Rob,

I thought that was the case. Are there any plans to allow this to happen. It
would make being able to create extensions to AB easier. Some sort of
ActiveX hook in would be great. What I thinking about doing with it is being
able to load a roster on to the Palm but not being able to add anything.
i.e. the Palm stores the roster but new units can't be added, however,
things can be altered / removed like wounds etc.

Cheers

Ken

-----Original Message-----
From: Rob Bowes [mailto:rob@wolflair.com]
Sent: 09 June 2001 00:16
To: ab@support.wolflair.com
Subject: Re: [AB] Army Builder and XML


The XML output is one-way - out. It's just like printing the roster out. So
there is no way to fold changes back into AB that you make with an external
program. Sorry about that. :-(

Thanks, Rob


At 03:44 PM 6/8/2001 +0100, you wrote:
>Hi there,
>
>I'm looking at creating a Palm app to use my BFG Rosters without the need
of
>the Paper. However, I understand that you can save a Roster as XML, but I
>would also like any changes I make to the Roster on the Palm to be placed
>into my original Roster File.
>
>For example one of my cruisers receives 3 points of damage, I record this
on
>the Palm when I sync the Palm I would like these 3 points of damage to
>appear in the original roster.
>
>Is there anyway that this can be done.
>
>Cheers
>
>Ken


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com


To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
>The XML output is one-way - out. It's just like printing the roster out. So
>there is no way to fold changes back into AB that you make with an external
>program. Sorry about that. :-(
>
>Thanks, Rob
>
Actually no.
You could very easy make a change in what ever program and have it appear in
Army Builder. The .rst file is made off xml-data, but how to figure out make
a application to do what you want, won't be easy...

Mikael
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
At 02:06 PM 6/11/2001 +0200, you wrote:
> >The XML output is one-way - out. It's just like printing the roster out. So
> >there is no way to fold changes back into AB that you make with an external
> >program. Sorry about that. :-(
> >
> >Thanks, Rob
> >
>Actually no.
>You could very easy make a change in what ever program and have it appear in
>Army Builder. The .rst file is made off xml-data, but how to figure out make
>a application to do what you want, won't be easy...

There is the PUBLIC XML and the NON-public XML. The PUBLIC XML is output
only, and that is what I was referring to above (i.e. the format that is
documented). You are correct that the private XML format can be loaded back
into AB, but that format lacks extensive amounts of critical information.
The private XML format requires that the definition file and all data files
be read into memory and reconciled appropriately. The XML file must then be
interpreted relative to the loaded data files. That's not something I'd
recommend to anyone, since they'd be re-writing Army Builder to accomplish
it - which would be a lot of work. So my original statement is completely
valid unless someone wants to reverse engineer and re-write AB. :-)

Thanks, Rob

---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
 
It would require a significant amount of work, so the likelihood is not
very high. To accomplish changes, you'd need to be editing the private XML
roster files. For an explanation of that, please see my separate post on
that topic. It's conceivable I can come up with a way that certain fields
of the private format can be publicly defined so that changes like you
suggest can be achieved. But please don't hold your breath on it. :-)

Thanks, Rob


At 12:12 PM 6/9/2001 +0100, you wrote:
>Cheers Rob,
>
>I thought that was the case. Are there any plans to allow this to happen. It
>would make being able to create extensions to AB easier. Some sort of
>ActiveX hook in would be great. What I thinking about doing with it is being
>able to load a roster on to the Palm but not being able to add anything.
>i.e. the Palm stores the roster but new units can't be added, however,
>things can be altered / removed like wounds etc.
>
>Cheers
>
>Ken


---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com
 
Back
Top