on 03-27-2006 12:33 PM
Hi.
Once BPM ends, i want to get a XML file with some data.
The problem is that when i go to AL11 to watch this file, i get the entire XML in one row :
<p2:MT_SRI_RESPUESTA xmlns:p2="http://dga.es/INTERFASE"><cabecera><FICHERO>SRI01140306D411001</FICHERO><NAME>JOHN</NAME> ....
i want to get it this way ...
<p2:MT_SRI_RESPUESTA xlns:p2="http://dga.es/INTERFASE">
<cabecera>
<FICHERO>SRI01140306D411001</FICHERO>
<NAME>JOHN</NAME>
.
.
.
How can i do that?
Regards.
Hi Inigo,
If you view the same file in another application (that has an XML parser), it will appear the way you want it, for example in Internet Explorer.
Is there any particular reason why you need it in that format?
Cheers
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inigo,
I don't think there is a way you can specify line breaks after close tags in the reveicer file adapter. The linebreaks are just whitespace anyway in the XML.
A workaround that I can think of for you is to run a script (through the OS command functionality of the adapter) after the file is written, that searches for every occurence of the character sequence >< and inserts a line break between them. But this is a clunky workaround. Also, it will not work if your limitation of 256 chars affects the writing of the file itself.
Cheers
Manish
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.