| markinjapan 2004-08-26, 12:22 pm |
| I'm having a few problems successfully importing XML data into templates I have
created in DMX.
I have built a standard table with editable regions (for text and pictures)
and enclosed it in a repeating region. This repeating region is meant to repeat
down the page until it runs out of data. Since I have been unsuccessful so far
I have been doing all the XML inpuy by hand. This involves counting the amount
of items(to limit each pages length) I have and then repeating the region the
required amount of times(is there an easier way of doing this, having to go
back to the top all the time is tedious). I then drag my images into the
editable regions and input type into the other editable regions, I then export
the XML data and save out the html. When I need to edit it, I import the XML
and then add/remove as needed.
I'd like to input this data through a form type device(like I have created
through MS access), export it as XML data and then import this data into my DMX
templates to create static webpages. I'm guessing I am having problems because
I am using repeating regions. I did this before using just editable regions and
the XML data that I exported from MS Access worked fine. Is it because it does
not know when to repeat the region and fill it with data(and so on)?
Also, I'm sure that I have to use some other kind of format other than XML but
is there a way where I can use XML online to update a template, so that I only
have to update the XML data and the template would be updated aswell?
I don't expect detailed help but a general pointer as to where I am going
wrong and what I should be using would be appreciated.
Thanks
|