Just a question...

You return the data as a query (fair enough), but...

you return attributes as: [element name]_[attribute_name]

This could cause problems if you have (say)

<help file="true"/>
<help_file>
    This is the help file.
</help_file>

Now I know that this is badly written XML, BUT the situation can occur.
This will produce two variables called:

help_file = "true"
help_file = "This is the help file."

I would therefore call into question how you intend to add in attributes.

The normal way of doing so would be to create a unique key for the attribute
whilst being able to refer back to the original code.

Anyone else agree that this could cause a problem?

Paul



-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml

Reply via email to