Re: [WebDNA] XML Parsing Error Help

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104542
interpreted = N
texte = eddie@thinksite.com wrote: >=20 >=20 >=20 > eddie@thinksite.com wrote: >> I have no idea what I'm doing when it comes to XML, but=20 >>this seems=20 >> like it should be something I can do. I just want to=20 >>include a WebDNA=20 >> variable (lookup) into the code below. The hard coded=20 >>filenames are=20 >> working fine. I add .ml to my Allowed Template Extensions=20 >>thinking=20 >> that could be the problem, but it didn't help. >> >> >> >> > db=3Ddb/wing.db&value=3DT&lookInField=3Dactive&returnField=3Dwing_bann= er]" >> url=3D"#" target=3D"parent" >> title=3D"Item Number 1" description=3D"Wing=20 >>of the Week" /> >> > url=3D"#" target=3D"_blank"=20 >> title=3D"Item Number 2"=20 >> description=3D"Drink Special" /> >> >> >=20 >=20 > As in any WebDNA parsing, you either have to have: >=20 > somewhere in your file, OR, you=20 >have > to have your admin prefs set to parse all files.. >=20 > Lastly, if this is a .ml file, it would have to be > mapped to WebDNA.... which that mapping would depend on > what platform you are on. >=20 > HTH, > Donovan >=20 > Did you mean .xml file? If so, yes it is, and I'm on a=20 >Windows 2003=20 > server. The code above is all that is on the page. Is=20 >there an easier=20 > way for me to get this one variable into this XML page,=20 >or am I headed=20 > down the right path? I've never mapped a .xml file to webdna, but I'm sure it=20 could be done. Instead, I've always sent XML requests via tcpconnect..=20 and the XML content was always within a more standard=20 WebDNA file.. .html,.dna,.tpl etc.. To map suffixes in Windows, look at the mapping=20 instructions ...link on your WebDNA home pages or at: http://docs.webdna.us/pages.html?context=3DIIS6Install.html Maybe lets us know a bit more about what you are doing and=20 we could suggest the appropriate path. Donovan A Flash animation file is calling the XML file to=20 determine which image and link to display. I just want to=20 automate the first slide so no one has to edit this XML=20 file every time they want to change out the photo. The XML=20 file looks simple enough, I thought it would be an easy=20 thing to do. I'll look into the mapping. Eddie Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] XML Parsing Error Help (Patrick McCormick 2010)
  2. Re: [WebDNA] XML Parsing Error Help ( 2010)
  3. RE: [WebDNA] XML Parsing Error Help ("Olin Lagon" 2010)
  4. Re: [WebDNA] XML Parsing Error Help (Donovan Brooke 2010)
  5. Re: [WebDNA] XML Parsing Error Help ( 2010)
  6. Re: [WebDNA] XML Parsing Error Help (Donovan Brooke 2010)
  7. Re: [WebDNA] XML Parsing Error Help ( 2010)
  8. Re: [WebDNA] XML Parsing Error Help (Donovan Brooke 2010)
  9. [WebDNA] XML Parsing Error Help ( 2010)
eddie@thinksite.com wrote: >=20 >=20 >=20 > eddie@thinksite.com wrote: >> I have no idea what I'm doing when it comes to XML, but=20 >>this seems=20 >> like it should be something I can do. I just want to=20 >>include a WebDNA=20 >> variable (lookup) into the code below. The hard coded=20 >>filenames are=20 >> working fine. I add .ml to my Allowed Template Extensions=20 >>thinking=20 >> that could be the problem, but it didn't help. >> >> >> >> > db=3Ddb/wing.db&value=3DT&lookInField=3Dactive&returnField=3Dwing_bann= er]" >> url=3D"#" target=3D"parent" >> title=3D"Item Number 1" description=3D"Wing=20 >>of the Week" /> >> > url=3D"#" target=3D"_blank"=20 >> title=3D"Item Number 2"=20 >> description=3D"Drink Special" /> >> >> >=20 >=20 > As in any WebDNA parsing, you either have to have: >=20 > somewhere in your file, OR, you=20 >have > to have your admin prefs set to parse all files.. >=20 > Lastly, if this is a .ml file, it would have to be > mapped to WebDNA.... which that mapping would depend on > what platform you are on. >=20 > HTH, > Donovan >=20 > Did you mean .xml file? If so, yes it is, and I'm on a=20 >Windows 2003=20 > server. The code above is all that is on the page. Is=20 >there an easier=20 > way for me to get this one variable into this XML page,=20 >or am I headed=20 > down the right path? I've never mapped a .xml file to webdna, but I'm sure it=20 could be done. Instead, I've always sent XML requests via tcpconnect..=20 and the XML content was always within a more standard=20 WebDNA file.. .html,.dna,.tpl etc.. To map suffixes in Windows, look at the mapping=20 instructions ...link on your WebDNA home pages or at: http://docs.webdna.us/pages.html?context=3DIIS6Install.html Maybe lets us know a bit more about what you are doing and=20 we could suggest the appropriate path. Donovan A Flash animation file is calling the XML file to=20 determine which image and link to display. I just want to=20 automate the first slide so no one has to edit this XML=20 file every time they want to change out the photo. The XML=20 file looks simple enough, I thought it would be an easy=20 thing to do. I'll look into the mapping. Eddie

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:

Navigator 4.0 & tables (1997) Still Learning (1997) WebCommerce: Folder organization ? (1997) Server IP Address (2003) Credit Card Number checking (1997) Running _every_ page through WebCat ? (1997) Redirect (1998) Use of Back and Reload Buttons on ShoppingCart page? (1997) WebCat Emailer & Liststar (1997) ERASING DATABASE (1997) Webcatalog Future?!? - Was &fieldsdir=ra truely random?? (2000) [WebDNA] Credit card processing (2012) Databases (2000) Help name our technology! I found it (1997) RE: 2.1 pricing? (1998) Single Link browsing (1997) old problem (2001) 'page impression' techniques for banner ads (1999) [WebDNA] WebDNA on LiveCD ... (2008) [WebDNA] a major shift in strategy? (2008)