Re: Feature req.

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41760
interpreted = N
texte = 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/ 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)
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/ Scott Anderson

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:

[WebDNA] CMS in WEBDNA (2009) Help name our technology! (1997) Installing WebCatalog 4.5.1 (2004) [OT] will work for... (2003) WebCatalog for guestbook ? (1997) More! on [ShowCart] and GET vs. POST (1997) Setting up WebCatalog with Retail Pro data (1996) Need relative path explanation (1997) Inline Frame HTML editor uploaded (2002) Title not showing up in ViewOrder template (1998) Cannot calculate prices (1997) WC2.0 Memory Requirements (1997) WebCat2 - Getting to the browser's username/password data (1997) Online Docs? (1997) Include a big block of text (1997) For those of you not on the WebCatalog Beta... (1997) WebCat2 several catalogs? (1997) [WebDNA] blogger (2009) ExclusiveLock question (2005) WebCat2: multiple currency support (1997)