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 newWebDNA contexts to parse XML source, iterate XML elements, examine nodeattributes, etc...We are still working on the XSTL parser.For a quick exercise, I created a simple template using the new XMLcontexts. With just a few lines of WebDNA this template reads in an XMLsource 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 atable 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:
We have integrated an XML parser into the 5.0 WebDNA engine, and created newWebDNA contexts to parse XML source, iterate XML elements, examine nodeattributes, etc...We are still working on the XSTL parser.For a quick exercise, I created a simple template using the new XMLcontexts. With just a few lines of WebDNA this template reads in an XMLsource 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 atable 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:
Getting Dreamweaver MX ( DW MX ) to play nicely with .TPL files (2003)
eMailer replacement? (1998)
Using Grep to Format Text (2001)
I'm new be kind (1997)
can WC render sites out? (1997)
WebCat & WebTen (1997)
WebCat b15 Mac plug-in (1997)
!!!!!!!!!!String Search!!!!!!!!!!!!!!!!!! (2001)
PIXO support (1997)
taxrate - off by 1 cent (1997)
WebDelivery: One step closer !! (1997)
Shopping carts and reloading pages (1997)
[WebDNA] grep question (2009)
Exclamation point (1997)
problems with 2 tags (1997)
Emailer setup (1997)
Error message (1999)
[subtotal] and others (1997)
can WC render sites out? (1997)
.tmp files (2000)