From what I understood, when I import an XML document the product is supposed to parse it into a tree based on the tags, but all I seem to get is a page that appears identical to a DTML document or method. That is, all I can do is edit it as a text file.
What exactly am I missing? I'd look at the Example.bbe referenced in the download page but I don't seem to have it. I'm using 2.0b1, compiled from source on RH6. -- Itamar - itamars@ibm.net ----------------------------o----------------------------------------------o Sealingwax Greeting Cards | Trust? Ha! The US dollar is backed by ICBMs! | http://www.sealingwax.com | --Anonymous Coward, Slashdot |
At 09:53 PM 7/25/99 +0300, Itamar S.-T. wrote:
From what I understood, when I import an XML document the product is supposed to parse it into a tree based on the tags, but all I seem to get is a page that appears identical to a DTML document or method. That is, all I can do is edit it as a text file.
No. You can manipulate the DOM tree with DTML, or traverse it via URL, etc. Take closer look at the distribution, it comes with a README.txt and a Example.bbe file. To import the Example.bbe file place it in the import directory and use Zope's import/export management tab to import the samples. If you install the Product everything will be in lib/python/Products/XMLDocument. -Amos
participants (2)
-
Amos Latteier -
Itamar S.-T.