470,815 Members | 1,201 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Converting perl output to XML(tags)


I have used TAP3Edit for decoding my TAPFiles, I don't know what is the exact file format of my input(Shared below)? It is not JSON and I wonder if anyone knows the format of this output? The other question is about converting this input to XML file(I shared relative output here) automatically and with perl or any other programming languages?( I heared Perl works perfect for text processing)

PS: This data is not real and I provide it just for testing.


$VAR1 = {

'Detail' => [ {
'TimeStamp' => {
'LocalTime' => '20200231',
'utcTime' => 2
'A-Value' => 1,
'B-Value' => '2',
'C-Value' => 3,
'D-Value' => 4

<Detail> <TimeStamp> <LocalTime> 20200231 </LocalTime> <utcTime> 2 </utcTime> <A-Value> 1 </A-Value> <B-Value> 2 </B-Value> <C-Value> 1 </C-Value> <D-Value> 2 </D-Value> </Detail>
May 18 '20 #1
1 3629
1,044 Expert 1GB
If the files are using this: https://tap3edit.github.io/TAP3-Tap3edit.html, then i cannot help you 😎

Because that would be too complex, if you do not already have that knowledge... (and i am also not having that knowledge!)
May 21 '20 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Terry Hancock | last post: by
1 post views Thread by Julia Bell | last post: by
2 posts views Thread by Con | last post: by
4 posts views Thread by eight02645999 | last post: by
4 posts views Thread by pmcgover | last post: by
9 posts views Thread by ravimath | last post: by
4 posts views Thread by akhilciba | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.