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 Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +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:

    
  1. Re: Feature req. (Kenneth Grome 2002)
  2. [table] (was Re: Feature req.) (Rob Marquardt 2002)
  3. Re: Feature req. (Brian Fries 2002)
  4. Re: Feature req. (Andrew Simpson 2002)
  5. Re: Feature req. (Scott Anderson 2002)
  6. Re: Feature req. (Andrew Simpson 2002)
  7. Re: Feature req. (Donovan Brooke 2002)
  8. Re: Feature req. (Donovan Brooke 2002)
  9. Re: Feature req. (Scott Anderson 2002)
  10. Re: Feature req. (Kenneth Grome 2002)
  11. Re: Feature req. (Kenneth Grome 2002)
  12. Re: Feature req. (Alain Russell 2002)
  13. Re: Feature req. (Scott Anderson 2002)
  14. Re: Feature req. (Brian Fries 2002)
  15. Re: Feature req. (Clint Davis 2002)
  16. Re: Feature req. (Stuart Tremain 2002)
  17. Re: Feature req. (Kenneth Grome 2002)
  18. Re: Feature req. (John Peacock 2002)
  19. Re: Feature req. (Jesse Williams-Proudman 2002)
  20. Re: Feature req. (John Peacock 2002)
  21. Re: Feature req. (Brian Fries 2002)
  22. Re: Feature req. (dale's stuff 2002)
  23. Re: Feature req. (Jesse Williams-Proudman 2002)
  24. Re: Feature req. (John Peacock 2002)
  25. Re: Feature req. (Aaron Lynch 2002)
  26. Re: Feature req. (Nitai @ ComputerOil 2002)
  27. Re: Feature req. (John Peacock 2002)
  28. Re: Feature req. (Jesse Williams-Proudman 2002)
  29. Re: Feature req. (Brian Fries 2002)
  30. Re: Feature req. (Nitai @ ComputerOil 2002)
  31. Feature req. (Aaron Lynch 2002)
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 Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +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)