Hi all,
I have the following XML file as a data-source for the RadTreeView:
I load it using the following statement:
I am getting the following error:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: <codeBook xmlns=''> was not expected.
I have read similar posts in these forums but don't see an answer to my problem. I can't alter the data to add an xmlns attribute to each element.
Any ideas?
Ed Graham
I have the following XML file as a data-source for the RadTreeView:
<?xml version="1.0" encoding="UTF-8"?> |
<codeBook xmlns:xsp="http://apache.org/xsp" xmlns:util="http://apache.org/xsp/util/2.0" xmlns:xsp-session="http://apache.org/xsp/session/2.0" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:i18n="http://apache.org/cocoon/i18n/2.0" version="1.2.2" ID="ZA4350"> |
<docDscr> |
<citation> |
<titlStmt> |
<titl> |
Title text goes here |
</titl> |
</titlStmt> |
</citation> |
</docDscr> |
</codeBook> |
I load it using the following statement:
RadTreeView rt = new RadTreeView(); |
rt.LoadContentFile("file.xml"); |
I am getting the following error:
<codeBook xmlns=''> was not expected.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: <codeBook xmlns=''> was not expected.
I have read similar posts in these forums but don't see an answer to my problem. I can't alter the data to add an xmlns attribute to each element.
Any ideas?
Ed Graham