Re: [OT] XML Primer

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57715
interpreted = N
texte = Sal, have you considered teaching? Seriously. -Dan On Fri, 7 May 2004 18:49:22 -0700 "Sal" wrote: >It depends on the purpose of the XML file. >For example, we have a db that has all CD's that are currently instock. >We want to create an XML file for our distributors so they always have >current list. We direct our distributors to go the music.tpl file for the >latest version of the CD list. > >XML/XSLT tutorial in the WebDNALab shows how to make the music.db file from >an XML file. Here is the example to create the XML doc from the same >music.db. > >[!]The Music.tpl file[/!] >[Search db=music.db&neTITLEdatarq=[blank]] >[WriteFile file=music.xml&secure=F] > >[FOUNDITEMS] > >[TITLE] >[ARTIST] >[/founditems] >[/WriteFile] >[/Search] >[!]Let's view our new XML file[/!] >[redirect url=music.xml] > >The new XML file is always updated with the latest database changes whenever >the music.tpl template is rendered. > >The Result > >- >- > Bridge of Spies > T`Pau > >- > The dock of the bay > Otis Redding > >- > Black angel > Savage Rose > >- > The very best of > Cat Stevens > >- > Unchain my heart > Joe Cocker > >- > Romanza > Andrea Bocelli > >- > Midt om natten > Kim Larsen > >- > Eros > Eros Ramazzotti > >- > Red > The Communards > >- > For the good times > Kenny Rogers > >- > Soulsville > Jorn Hoel > >- > Big Willie style > Will Smith > >- > Maggie May > Rod Stewart > >- > Stop > Sam Brown > >- > Still got the blues > Gary More > >- > Private Dancer > Tina Turner > >- > When a man loves a woman > Percy Sledge > >- > Pavarotti Gala Concert > Luciano Pavarotti > >- > Hide your heart > Bonnie Tylor > >- > Picture book > Simply Red > >- > 1999 Grammy Nominees > Many > >- > One night only > Bee Gees > >- > Empire Burlesque > Bob Dylan > >- > Greatest Hits > Dolly Parton > >- > Sylvias Mother > Dr.Hook > >- > Tupelo Honey > Van Morrison > > > >Hope this helps, > >Sal D'Anna > >-----Original Message----- >From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Alan >White >Sent: Friday, May 07, 2004 2:22 AM >To: WebDNA Talk >Subject: Re: [OT] XML Primer > >I found a really good tutorial on http://www.htmlite.com > >The only thing I am still struggling with is applying what I have learned, I >know how to create an xml file and I can also create the xlst etc but where >is get stuck is populating my xml file. I don't know if this is supposed to >be done on the fly by pulling info from a db and writing it to a file. > >Anyone care to shed some light? > >HTH > >Alan > >on 5/6/04 8:03 PM, Dan Strong at webdna@stronggraphicdesign.com wrote: > >> Howdy all, >> >> I need to be up to speed with XML by early next week... any good >(preferrably >> free) online >> resources you guys would recommend I check out to get me started and then >any >> books for the long >> haul? >> >> TIA, >> >> -Dan >> >> ------------------------------------------------------------- >> 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://webdna.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://webdna.smithmicro.com/ > >__________ NOD32 1.752 (20040506) Information __________ > >This message was checked by NOD32 Antivirus System. >http://www.nod32.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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] XML Primer ( "Dan Strong" 2004)
  2. Re: [OT] XML Primer ( "Sal" 2004)
  3. Re: [OT] XML Primer ( Alan White 2004)
  4. Re: [OT] XML Primer ( "Dan Strong" 2004)
  5. Re: [OT] XML Primer ( "Sal" 2004)
  6. Re: [OT] XML Primer ( Dylan Wood 2004)
  7. Re: [OT] XML Primer ( "Sal" 2004)
  8. [OT] XML Primer ( "Dan Strong" 2004)
Sal, have you considered teaching? Seriously. -Dan On Fri, 7 May 2004 18:49:22 -0700 "Sal" wrote: >It depends on the purpose of the XML file. >For example, we have a db that has all CD's that are currently instock. >We want to create an XML file for our distributors so they always have >current list. We direct our distributors to go the music.tpl file for the >latest version of the CD list. > >XML/XSLT tutorial in the WebDNALab shows how to make the music.db file from >an XML file. Here is the example to create the XML doc from the same >music.db. > >[!]The Music.tpl file[/!] >[Search db=music.db&neTITLEdatarq=[blank]] >[WriteFile file=music.xml&secure=F] > >[founditems] > >[TITLE] >[ARTIST] >[/founditems] >[/WriteFile] >[/Search] >[!]Let's view our new XML file[/!] >[redirect url=music.xml] > >The new XML file is always updated with the latest database changes whenever >the music.tpl template is rendered. > >The Result > >- >- > Bridge of Spies > T`Pau > >- > The dock of the bay > Otis Redding > >- > Black angel > Savage Rose > >- > The very best of > Cat Stevens > >- > Unchain my heart > Joe Cocker > >- > Romanza > Andrea Bocelli > >- > Midt om natten > Kim Larsen > >- > Eros > Eros Ramazzotti > >- > Red > The Communards > >- > For the good times > Kenny Rogers > >- > Soulsville > Jorn Hoel > >- > Big Willie style > Will Smith > >- > Maggie May > Rod Stewart > >- > Stop > Sam Brown > >- > Still got the blues > Gary More > >- > Private Dancer > Tina Turner > >- > When a man loves a woman > Percy Sledge > >- > Pavarotti Gala Concert > Luciano Pavarotti > >- > Hide your heart > Bonnie Tylor > >- > Picture book > Simply Red > >- > 1999 Grammy Nominees > Many > >- > One night only > Bee Gees > >- > Empire Burlesque > Bob Dylan > >- > Greatest Hits > Dolly Parton > >- > Sylvias Mother > Dr.Hook > >- > Tupelo Honey > Van Morrison > > > >Hope this helps, > >Sal D'Anna > >-----Original Message----- >From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Alan >White >Sent: Friday, May 07, 2004 2:22 AM >To: WebDNA Talk >Subject: Re: [OT] XML Primer > >I found a really good tutorial on http://www.htmlite.com > >The only thing I am still struggling with is applying what I have learned, I >know how to create an xml file and I can also create the xlst etc but where >is get stuck is populating my xml file. I don't know if this is supposed to >be done on the fly by pulling info from a db and writing it to a file. > >Anyone care to shed some light? > >HTH > >Alan > >on 5/6/04 8:03 PM, Dan Strong at webdna@stronggraphicdesign.com wrote: > >> Howdy all, >> >> I need to be up to speed with XML by early next week... any good >(preferrably >> free) online >> resources you guys would recommend I check out to get me started and then >any >> books for the long >> haul? >> >> TIA, >> >> -Dan >> >> ------------------------------------------------------------- >> 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://webdna.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://webdna.smithmicro.com/ > >__________ NOD32 1.752 (20040506) Information __________ > >This message was checked by NOD32 Antivirus System. >http://www.nod32.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://webdna.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://webdna.smithmicro.com/ "Dan Strong"

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:

[AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WebCat2b15MacPlugin - [protect] (1997) [WebDNA] Urgent issues - WebDNA 6.2 under Ubuntu 10.04 (2010) Documentation Feedback (1997) UPDATEDONE question ... (1998) [OT] (waaaay OT) further off topic than before (2004) So many lookers, hey smith micro (2003) using showpage and showcart commands (1996) [WebDNA] WebDNA AJAX_Fileuploader (2013) More on the email templates (1997) Fwd: FW: Purchase Command error (1997) passing cart value (2003) Trouble Searching (1999) WebCat2 - [format thousands] (1997) Formulas.db (1997) WebCat2 several catalogs? (1997) [WebDNA] Authorize.net SIM, Server Integration Method (2011) [countWords]? (1997) WebCatalog can't find database (1997) Signal Raised Error (Part III) (1997)