Re: Feature req.
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41763
interpreted = N
texte = That sounds pretty good.On 21/7/02 6:41 AM, Scott Anderson
wrote:> We have integrated an XML parser into the 5.0 WebDNA engine, and created new> WebDNA contexts to parse XML source, iterate XML elements, examine node> attributes, etc...> > We are still working on the XSTL parser.> > For a quick exercise, I created a simple template using the new XML> contexts. With just a few lines of WebDNA this template reads in an XML> source file and recursively calls itself to rebuild the entire XML tree,> attributes and all.> > In keeping with WebDNA's 'ease of use' the new XML WebDNA contexts have a> 'familiar' feel.> > Using the new XML and TABLE contexts you could easily read XML data into a> table and then perform a search on that table.> > > >> -----Original Message----->> From: WebCatalog Talk>> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>> Of Andrew Simpson>> Sent: Saturday, July 20, 2002 1:53 AM>> To: WebCatalog Talk>> Subject: Re: Feature req.>> >> >> >> What would be sooo much better would be something like...>> >> Search db=thisdb.xml...>> >> Listfields db=thisdb.xml...>> >> >> If you are going to add functionality that lets us create 'on the fly'>> databases - would you also let us interface with XML files.>> >> We have had to, too many times now, write some of the ugliest string>> manipulation routines that butcher tags like listwords, grep>> and getchars>> just to parse xml files.>> >> Any news here?>> >> >> >> On 20/7/02 7:35 PM, Donovan Brooke>> wrote:>> >>> This is pretty cool... When does the created database>> (table) dissipate?>>> Is it alive only until the end of the hit?>>> >>> thanks,>>> Donovan>>> >>> >>> Scott Anderson wrote:>>> >>>> No plans to implement a [Change] context, but....>>>> >>>> One context that we have created for 5.0 is a new [TABLE]>> context that>>>> allows you to create a quick, temporary, private (visible>> only to the thread>>>> that created it) database. For example....>>>> >>>> [table name=mytable&fields=ID,NAME,PHONE]>>>> 1 BOB 123-1234>>>> 2 MARY 234-2345>>>> 3 SCOTT 345-3456>>>> [/table]>>>> >>>> Then you can use the new table in any context that>> currently takes a db>>>> parameter....>>>> >>>> [search table=mytable&....]>>>> >>>> [append table=mytable]>>>> >>>> [delete table=mytable&.....]>>>> >>>> So, for convertchars or convertwords....>>>> >>>> [table name=MyConvertTable&fields=FROM,TO]>>>> 1 a>>>> 2 b>>>> [/table]>>>> >>>> [convertchars table=MyConvertTable].....[/convertchars]>>>> >>>> >>> >>> >>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at: http://search.smithmicro.com/>> >> -->> >> Andrew Simpson>> Web Development>> >> Blackpepper Interactive Ltd>> PO Box 99805>> Newmarket>> >> 4 Clayton Street>> Newmarket>> Auckland>> >> Ph: +64 9 520-6281>> Mob: 0272733270>> Fax: +64 9 524-1849>> >> http://www.blackpepper.co.nz>> >> >> >> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-- Andrew SimpsonWeb DevelopmentBlackpepper Interactive LtdPO Box 99805Newmarket4 Clayton StreetNewmarketAucklandPh: +64 9 520-6281Mob: 0272733270Fax: +64 9 524-1849http://www.blackpepper.co.nz-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
That sounds pretty good.On 21/7/02 6:41 AM, Scott Anderson wrote:> We have integrated an XML parser into the 5.0 WebDNA engine, and created new> WebDNA contexts to parse XML source, iterate XML elements, examine node> attributes, etc...> > We are still working on the XSTL parser.> > For a quick exercise, I created a simple template using the new XML> contexts. With just a few lines of WebDNA this template reads in an XML> source file and recursively calls itself to rebuild the entire XML tree,> attributes and all.> > In keeping with WebDNA's 'ease of use' the new XML WebDNA contexts have a> 'familiar' feel.> > Using the new XML and TABLE contexts you could easily read XML data into a> table and then perform a search on that table.> > > >> -----Original Message----->> From: WebCatalog Talk>> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>> Of Andrew Simpson>> Sent: Saturday, July 20, 2002 1:53 AM>> To: WebCatalog Talk>> Subject: Re: Feature req.>> >> >> >> What would be sooo much better would be something like...>> >> Search db=thisdb.xml...>> >> Listfields db=thisdb.xml...>> >> >> If you are going to add functionality that lets us create 'on the fly'>> databases - would you also let us interface with XML files.>> >> We have had to, too many times now, write some of the ugliest string>> manipulation routines that butcher tags like listwords, grep>> and getchars>> just to parse xml files.>> >> Any news here?>> >> >> >> On 20/7/02 7:35 PM, Donovan Brooke>> wrote:>> >>> This is pretty cool... When does the created database>> (table) dissipate?>>> Is it alive only until the end of the hit?>>> >>> thanks,>>> Donovan>>> >>> >>> Scott Anderson wrote:>>> >>>> No plans to implement a [Change] context, but....>>>> >>>> One context that we have created for 5.0 is a new [table]>> context that>>>> allows you to create a quick, temporary, private (visible>> only to the thread>>>> that created it) database. For example....>>>> >>>> [table name=mytable&fields=ID,NAME,PHONE]>>>> 1 BOB 123-1234>>>> 2 MARY 234-2345>>>> 3 SCOTT 345-3456>>>> [/table]>>>> >>>> Then you can use the new table in any context that>> currently takes a db>>>> parameter....>>>> >>>> [search table=mytable&....]>>>> >>>> [append table=mytable]>>>> >>>> [delete table=mytable&.....]>>>> >>>> So, for convertchars or convertwords....>>>> >>>> [table name=MyConvertTable&fields=FROM,TO]>>>> 1 a>>>> 2 b>>>> [/table]>>>> >>>> [convertchars table=MyConvertTable].....[/convertchars]>>>> >>>> >>> >>> >>> ------------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to>>> >>> Web Archive of this list is at: http://search.smithmicro.com/>> >> -->> >> Andrew Simpson>> Web Development>> >> Blackpepper Interactive Ltd>> PO Box 99805>> Newmarket>> >> 4 Clayton Street>> Newmarket>> Auckland>> >> Ph: +64 9 520-6281>> Mob: 0272733270>> Fax: +64 9 524-1849>> >> http://www.blackpepper.co.nz>> >> >> >> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-- Andrew SimpsonWeb DevelopmentBlackpepper Interactive LtdPO Box 99805Newmarket4 Clayton StreetNewmarketAucklandPh: +64 9 520-6281Mob: 0272733270Fax: +64 9 524-1849http://www.blackpepper.co.nz-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Andrew Simpson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[Sum] function? (1997)
Cancel Subscription (1996)
Roundup function? (1997)
form data submission gets truncated (1997)
[CART] inside a [LOOP] (1997)
Request for page test (2003)
Multiple catalog databases and showcart (1997)
Configuring E-mail (1997)
The code, one more time. (2003)
[append] and SSL (1997)
Not really WebCat (1997)
Applescript error (1998)
taxrate (1999)
delete a record and ssl (2005)
creator code (1997)
Showif, Hideif reverse logic ? (1997)
Replace Statement (1997)
Summ=T Problem (1997)
autocommit problem (1998)
WebDNA Writer Needed (1997)