EDN Admin
Well-known member
hi all,
I am in product development which interact with hardware and other systems like SAP to exchange data. For exchange data i am using xml. Windows service is used to create, read and write xml files. I need some guidance to generalise my xml standard.
Current i have seperate xml for each data. Take an examle i have 3 types of packet receiving from hardware. I created seperate 3 xml like the following
<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; <?<span style="color:#A31515; xml <span style="color:Red; version<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; 1.0<span style="color:Black; " <span style="color:Red; encoding<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; utf-8<span style="color:Black; " <span style="color:Blue; ?>
- <span style="color:Blue; <<span style="color:#A31515; NodeJoin<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; PacketType<span style="color:Blue; >1E<span style="color:Blue; </<span style="color:#A31515; PacketType<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; CheckSum<span style="color:Blue; >DE<span style="color:Blue; </<span style="color:#A31515; CheckSum<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; HardwareId<span style="color:Blue; >000013A20040B331<span style="color:Blue; </<span style="color:#A31515; HardwareId<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; NodeJoin<span style="color:Blue; >
[/code]
Here packet name is nodejoin and other related informations are shown. Likewise i created seperate xml for each packet. This xml is read by windows service and update data to the database. But now i just tried with SSRS and the packet is not showing the
column for mapping.
Hence i tried with other xml packet which is created by SAP and it is more complex one(includes attributes etc).
Which way is usefule and best practiced? How a well defined xml is generated for good practice and performance
View the full article
I am in product development which interact with hardware and other systems like SAP to exchange data. For exchange data i am using xml. Windows service is used to create, read and write xml files. I need some guidance to generalise my xml standard.
Current i have seperate xml for each data. Take an examle i have 3 types of packet receiving from hardware. I created seperate 3 xml like the following
<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; <?<span style="color:#A31515; xml <span style="color:Red; version<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; 1.0<span style="color:Black; " <span style="color:Red; encoding<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; utf-8<span style="color:Black; " <span style="color:Blue; ?>
- <span style="color:Blue; <<span style="color:#A31515; NodeJoin<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; PacketType<span style="color:Blue; >1E<span style="color:Blue; </<span style="color:#A31515; PacketType<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; CheckSum<span style="color:Blue; >DE<span style="color:Blue; </<span style="color:#A31515; CheckSum<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; HardwareId<span style="color:Blue; >000013A20040B331<span style="color:Blue; </<span style="color:#A31515; HardwareId<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; NodeJoin<span style="color:Blue; >
[/code]
Here packet name is nodejoin and other related informations are shown. Likewise i created seperate xml for each packet. This xml is read by windows service and update data to the database. But now i just tried with SSRS and the packet is not showing the
column for mapping.
Hence i tried with other xml packet which is created by SAP and it is more complex one(includes attributes etc).
Which way is usefule and best practiced? How a well defined xml is generated for good practice and performance
View the full article