on 07-31-2010 9:09 PM
Hi,
I want to append xml files via receiver file adapter of PI 7.1.
When iam using append mode and generating files they are getting appended but when i open the xml file
it gives an error.It says :
"Only one top level element is allowed in an XML document. Error processing resource 'file:///N:/Documents and Settings".
i tried this by changing the data type ,but no use.
is there anyway where we can fix this problem of appending xml files.
Hello Rahul,
What is requirement, whay you want to append XML?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> is there anyway where we can fix this problem of appending xml files.
No. This is not possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by appending XML file? Valid XML file only have one root node and if you use append option of file adapter it will append files with multiple root nodes which will not stay xml anymore. Therefore this option is used for text files generally.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I know you can't append the xml file at Receiver file adapter. You can change your Interface design as like below so that you can append receiver xml file.
First scenario -> Create receiver .txt file with multiple records using .txt file you can append the records....
create another scenario to pick up the .txt file and convert as xml file.
Regards,
Venu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
11 | |
10 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.