Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dynamic XML feed

Explorer ,
Sep 28, 2007 Sep 28, 2007
I wrote a php file that will generate a dynamically XML string from a record set. I am using the XMLWriter to do this. The output is similar to Export XML (not dynamic) from record set extension . My XML output looks good and valid markup.

When creating a new XSL file, If I select the locate XML source option, the bindings show Invalid document. If I use the remote file option everything works fine.

Another interesting point is, If I hand code the transformation process, instead of using MM_XSLTransform class, everything is good.

I would love to be able to use DW CS3 for this, so I can use the design view. Would writing a proxy file be the right way to go with this? Looking at server time to write a file.

David Pearson

TOPICS
Server side applications
462
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Sep 29, 2007 Sep 29, 2007
DEPearson wrote:
> When creating a new XSL file, If I select the locate XML source option, the
> bindings show Invalid document. If I use the remote file option everything
> works fine.

Since your file is dynamically generated, it needs to be parsed by a web
server, even if it's localhost. The local file option is for static XML.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/...
Translate
LEGEND ,
Sep 29, 2007 Sep 29, 2007
DEPearson wrote:
> When creating a new XSL file, If I select the locate XML source option, the
> bindings show Invalid document. If I use the remote file option everything
> works fine.

Since your file is dynamically generated, it needs to be parsed by a web
server, even if it's localhost. The local file option is for static XML.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 29, 2007 Sep 29, 2007
LATEST
David,

I was thinking about that this morning here about the local file option being static xml. I will have to use the remote file option, then change the URL when I do my upload to the live server. To bad they do not have an option for a local dynamic file for xml source.

Thanks,
David Pearson
PS: working on your new book here: Dreamweaver CS3 with CSS, Ajax, and PHP

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines