[REBOL] Outlines (was where are all the components?) Re:(2)
Hi Robert, nice communicating with you again, well, hoping i can explain it correctly: after getting the xml and cleaning it a bit,I have a recursive function which gets a block (one of the nested ones you get after parse-xml) and checks if it is either 1 of 4 types: - tag - attributes - value - block of children (there are no more 'basic' types if i am correct) for each type it gathers information (each type is a temporary block) if type is tag: -name, attributes, children/value (how many attributes or children, and which value) if type is attributes: which if type is value: what value if type is block of children: how many So far O.K. Now i want for each appropriate type it's immediate parent, if it has more elements on the same level and how many (all with same immediate parent) Also i want to remember how many elements on the former level have been passed, and how many are still to come etc etc... let me work on it for a day or so, and i will paste the code here.. the example i have shown on my temp. server (IE only i am afraid: http://131.211.29.218 ) was very very easy, but the script i want should make it even easier (once i have all that information) HJ
[REBOL] Outlines (was where are all the components?) Re:
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 20, 2000 11:31 AM > To: [EMAIL PROTECTED] > Subject: [REBOL] Outlines (was where are all the components?) > Parsing xml with rebol is easy if you want a quick and dirty job, > but have not been able to get all the functionality i want . Hi, what's missing/making problems? Robert
[REBOL] Outlines (was where are all the components?)
Hi Curt, at the moment the script is rather dirty and i am absolutely not satisfied with it, (neither the rebol part, nor the javascript/DHTML part) can you give me a few days? Parsing xml with rebol is easy if you want a quick and dirty job, but have not been able to get all the functionality i want . I just have the feeling that what i am doing with XML and rebol cannot be as easy in any other language, if you ask me why? i have no idea :-) Perhaps others on this list can share some of their ideas? BTW: two basic ingredients of the script can be found at: www.webreference.com and www.langreiter.com HJ At 07:14 PM 7/19/00 -0700, you wrote: > >i have an example of a rebol processing script at a temp server i use: > >http://131.211.29.218/cgi-bin/outlines.cgi > > >That's pretty cool! > >Would it be possible for me to get a copy of your REBOL script? > >Curt