Re: programming guidance, cftree

2009-01-12 Thread s. isaac dealey
> sent the code, data and xsl sheet to you via email. Thanks Sam, I got them... Haven't had a chance to look at them yet... been busy preparing for a move. Hopefully soon. :) -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~

Re: programming guidance, cftree

2009-01-12 Thread sam Detweiler
>> XSL supports FUNCTION recursion, but NOT data isolation. variables >> are in the context of the xpath path, and are NOT hidden on function >> recursion. (ie you have to be done with the variables, they will NOT >> survive. (I have a nice xslt that demonstrates the problem clearly).. > >I'd be i

Re: programming guidance, cftree

2009-01-09 Thread s. isaac dealey
> XSL supports FUNCTION recursion, but NOT data isolation. variables > are in the context of the xpath path, and are NOT hidden on function > recursion. (ie you have to be done with the variables, they will NOT > survive. (I have a nice xslt that demonstrates the problem clearly).. I'd be interes

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
> >I've never had any difficulty getting XSL to handle recursion, but like >Dave Watts mentioned, it won't help you convert from non-XML data to XML. >For that you need to roll your own code, which I'm guessing is what >you're describing in the 2nd paragraph here. Yeah, your function can be >used t

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
> > yeh on the XSLT, I spent quite some time trying to use XSLT to > convert some non-XML data to XML, but it doesn't support recursion, > yeow!. > > First, XSL does support recursion just fine: > http://www.ibm.com/developerworks/xml/library/x-xslrecur/ > > Second, I'm not sure what you mean b

Re: programming guidance, cftree

2009-01-09 Thread s. isaac dealey
> yeh on the XSLT, I spent quite some time trying to use XSLT to > convert some non-XML data to XML, but it doesn't support recursion, > yeow!.. didn't take much to in CF at all. > > but you MAY have given me a pointer.. maybe I can create my OWN > cftree/query type tag to generate the stuff inl

Re: programming guidance, cftree

2009-01-09 Thread Dave Watts
> yeh on the XSLT, I spent quite some time trying to use XSLT to convert some > non-XML data to XML, but it doesn't support recursion, yeow!. First, XSL does support recursion just fine: http://www.ibm.com/developerworks/xml/library/x-xslrecur/ Second, I'm not sure what you mean by "convert non-

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
>> thanks. I wasn't able to find a query mechanism either. >> >> the tree displays/works fine, but the app build process isn't right.. > >Right... that's the reason why I was headed for using a query to build >the tree, because in theory if you give it id/parent it should be able >to build all th

Re: programming guidance, cftree

2009-01-09 Thread s. isaac dealey
> thanks. I wasn't able to find a query mechanism either. > > the tree displays/works fine, but the app build process isn't right.. Right... that's the reason why I was headed for using a query to build the tree, because in theory if you give it id/parent it should be able to build all the sub-n

Re: programming guidance, cftree

2009-01-09 Thread sam Detweiler
>I don't think the tree is going to work for you the way you're hoping... > >In the past I remember being able to specify a query in cftreeitem with >id and parent and having it automatically assign all the sub-nodes the >way I wanted, but I can't seem to get that to work now on CF8 with a >single

Re: programming guidance, cftree

2009-01-09 Thread s. isaac dealey
I don't think the tree is going to work for you the way you're hoping... In the past I remember being able to specify a query in cftreeitem with id and parent and having it automatically assign all the sub-nodes the way I wanted, but I can't seem to get that to work now on CF8 with a single query.

programming guidance, cftree

2009-01-09 Thread sam Detweiler
I have the need to display an xml document. so I am using cftree to do that. to build the cftreeitems, it is easiest to recursively call the renderer for each node. BUT the cf compiler 'expects' the cftreeitem tags to be in the SOURCE FILE AFTER the CFTREE tag. if I generate the tree items (s