Hi John,

I'm unsure how else an XML reader would build up an accounts tree
without additional information. Given the following list of accounts:

Assets
Chequing
Short-Term
Savings

How would a reader determine the account tree? Is the correct tree:

Assets
Assets:Chequing
Assets:Savings
Assets:Short-Term

or

Assets
Assets:Chequing
Assets:Savings
Assets:Savings:Short-Term

or some other combination?

I realize that the amounts in each account might be used to help
determine the account tree, but that would not be fool-proof.

A <fullname> tag should solve the problem, but I believe that my
original suggestion of nesting accounts to show hierarchy would work
better and provide a more elegant solution.

Thanks,
Ryan

On Tue, Nov 1, 2011 at 8:32 AM, John Wiegley <[email protected]> wrote:
>>>>>> Ryan May <[email protected]> writes:
>
>> i.e. The name of an account like Assets:Chequing:Bank is recorded simply as
>> <name>Bank</bank>.
>>
>> The full name of the account does seem to be implied by the ordering of the
>> XML:
>
> I believe it's expected that the reader will build up an accounts tree, but I
> can certainly add a "<fullname>" tag.
>
> John
>

Reply via email to