[Zope] ParsedXML
Einar Næss Jensen
einar.ness.jensen@hf.ntnu.no
Wed, 13 Nov 2002 15:34:07 +0100
Two questions concerning two different products.
1: ParsedXML
I have tried to install ParsedXML with zope 2.51 on redhat 7.2.
This is what i get:
2002-11-13T13:46:00 ERROR(200) Zope Couldn't install ParsedXML
Traceback (innermost last):
File /home/zope/lib/python/OFS/Application.py, line 637, in install_product
(Object: Zope)
(Info: ParsedXML)
File /home/zope/lib/python/Products/ParsedXML/__init__.py, line 92, in
initialize
AttributeError: 'Products.ParsedXML.ParsedXML' module has no attribute
'ParsedXML'
I am no python guru. this does not tell me much.
the __init__.py looks like this:
def initialize(context):
import ParsedXML
context.registerClass(
ParsedXML.ParsedXML,
permission = 'Add Documents, Images, and Files',
icon='www/pxml.gif',
constructors = (ParsedXML.manage_addParsedXMLForm,
ParsedXML.manage_addParsedXML)
)
context.registerHelp()
context.registerHelpTitle('Parsed XML Help')
#context.registerHelpTopic('ParsedXML_Edit', ParsedXML_Edit())
My second problem is this:
the product XMLTransform seems to install just fine, but when I try to add
a Transformer registry, i get the errormessage "global name 'mesage' is not
defined."
What happened? What did I do wrong??
I will appreciate any suggestions to what I may do.
Also: Is there a preffered method to extract elements from XML-documents
and transform them into html?
Einar
--
Einar Næss Jensen
Avdelingsingeniør EDB-HF
735 90750