while I can't point at an article.. can't you represent it as a
structure of structures?

STRUCT - id(some unique number), parentID (references parent struct,
and is nullable for root nodes in your outline),  key (alpha-numeric
i, ii, iii, I, II, IV, A, B, C, 1, 2, etc..), title, description,
children (array)

each array of children is an array of those structures

this gives you the heirarchy and lets you easilly loop over it all to
create the xml structure you want to create.

Bill


On 9/6/05, chris.alvarado <[EMAIL PROTECTED]> wrote:
> Hello all,
>  
>  I'm working on a project where i need to allow a user to build the
> structure for an online manual through some sort of form based tool.
>  
>  The structure is hierarchical in nature, in that there are chapters which
> contain various pages and then those pages can even contain "sub pages".
> after the user build the structure of the manual the structure needs to be
> saved as an XML file. however, I've been having a heck of a time
> representing the structure in ColdFusion. does anyone have any pointers
> (tutorials, examples etc) of dealing with hierarchies in ColdFusion?
>  
>  thanks for any help!
> 
> -- 
> -chris.alvarado
> [application developer]
> ----------------------------------------------------------
>  You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
>  
>  CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
>  
>  CFCDev is supported by New Atlanta, makers of BlueDragon
>  http://www.newatlanta.com/products/bluedragon/index.cfm
>  
>  An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected] 


-- 
[EMAIL PROTECTED]
http://blog.rawlinson.us

If you want Gmail - just ask.


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to