Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: HELP with decompressing data. HELP with decompressing data.To: NULL Date: 4/6/2007 3:40:00 PM
Hello,
I am using a software writtten in XML to download data from a medical
device.
The software provides a graphical display of the data but does not allow to
export the data themselves.
I don;t know XML at all (I have some experience with VB 6) and I would like
to know how to dexompress the data file and export them to analyze them.
The data are included in the following script ( I think):
-------------
<?xml version="1.0" encoding="utf-8" ?>
- <ReceiverDownload Id="{7BC1EEDB-AA5F-45EE-8156-B37C3B87C75E}"
DateTimeNowLocal="2007-04-01 23:20:12.687" DateTimeNowUTC="2007-04-02
03:20:12.687" ApplicationName="DefaultDomain" ApplicationBase="C:\Documents
and Settings\Owner\Local
Settings\Apps\2.0\ABP3GCNT.HEQ\LX7ANVZY.YAY\dexc..tion_40881670a89c85d2_0009.0000_f01c0e6c0d99d401\"
AssemblyFullName="DexCom.R2PatientTool, Version=2.0.2383.18674,
Culture=neutral, PublicKeyToken=71077f6d94a459dc"
AssemblyVersion="2.0.2383.18674"
PatientId="{86B8094B-931A-4147-80E1-3C974B33FC8E}">
<ApplicationInfo ExecutablePath="C:\Documents and Settings\Owner\Local
Settings\Apps\2.0\ABP3GCNT.HEQ\LX7ANVZY.YAY\dexc..tion_40881670a89c85d2_0009.0000_f01c0e6c0d99d401\DexCom.R2PatientTool.exe"
StartupPath="C:\Documents and Settings\Owner\Local
Settings\Apps\2.0\ABP3GCNT.HEQ\LX7ANVZY.YAY\dexc..tion_40881670a89c85d2_0009.0000_f01c0e6c0d99d401"
ProductName="DexCom DMT - Consumer" ProductVersion="9.0.2.18" />
<ComputerInfo HostName="Desktop" HostIp="192.168.15.100" MACAddress=""
MachineName="DESKTOP" OSVersion="Microsoft Windows NT 5.1.2600 Service Pack
2" UserDomainName="DESKTOP" UserName="Owner" ClrVersion="2.0.50727.42"
DriveId="1261878762" VolumeId="3698262509"
HardwareId="B8EED59E1DB77CAD7FC667E6E51871E373EEE75AF4E1E0BCD0A769A4468EB9218FC286B0765C9B526B523EFC6F6EBF34C989BE5D814"
OSDirectory="C:\WINDOWS\system32" />
- <ReceiverData DatabaseRevision="1000004" IsEventLogEmpty="1"
IsErrorLogEmpty="1" InternalTime="2007-04-02 03:18:53.950"
RTCTime="2007-04-02 03:18:55.000" BiosHeader="209040F"
LastFixedBlockInDatabase="3" NumberOfNewBlocksInDatabase="4">
<FirmwareHeader Code="5844" Revision="5.0.6.42" RevisionNumber="83887658"
Signature="R2 OS" FirmwareHeaderRevision="1.0.0.1"
FirmwareHeaderRevisionNumber="16777217" AddressFirmwareCrc="401C5590"
BranchInstruction="EA000023"
HardwareConfigMask="F5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
HardwareConfigMaskLow64="10" HardwareConfigMaskHigh64="0"
RequiredMemorySize="400000" DatabaseRevision="1.0.0.4"
DatabaseRevisionNumber="16777220" ProductString="SW8218"
BuildDateAndTime="Sep 28 2006 16:07:19" CpldG3Revision="1.0.0.4"
CpldGtxRevision="2.0.0.0" CpldG3RevisionNumber="16777220"
CpldGtxRevisionNumber="33554432" BiosCompatibilityNumber="1"
RequiredConfigImageVersion="3" />
<BiosHeader BiosRevision="2.9.4.15" BiosRevisionNumber="34145295"
BiosHeaderRevision="16777217" BuildDateAndTime="" ProductString="SW8203"
FirmwareCompatibilityNumber="1" ConfigCompatibilityNumber="1" />
<HardwareConfig ConfigurationVersion="3" ReceiverId="20006"
HardwareFlags="Unknown" HardwareFlagsLow64="0" HardwareFlagsHigh64="0"
FirmwareFlags="Unknown" FirmwareFlags32="0" XtalTrim="0" MaxSlope="550"
MinSlope="150" MinBaseline="15000" MaxBaseline="55000" MinCounts="10000"
MaxCounts="600000" LowAssumedBaseline="25000" MidAssumedBaseline="35000"
HighAssumedBaseline="45000" Calibrated5VoltAdcReading="927"
HardwareProductNumber="8205" HardwareProductRevision="19"
ReceiverInstanceId="{81345EB0-FB75-4E2C-9555-724820BCB1EA}"
BiosCompatibilityNumber="1" Signature="R2 CFG" Size="1024"
ResidualCountsForMinimalAberration="0" ResidualCountsForSevereAberration="0"
AbsoluteEgvDeltaForMinimalAberration="0"
PercentageEgvDeltaForMinimalAberration="0"
AbsoluteEgvDeltaForSevereAberration="0"
PercentageEgvDeltaForSevereAberration="0" CountsAberrationWindow="0"
ResidualAberrationWindow="0" EgvAberrationWindow="0"
MaxAllowedCountsAberrations="0" MaxAllowedResidualAberrations="0"
MaxAllowedEgvAberrations="0" MaxAllowedPointsToGetInCal="0"
ErrorLogAddress="1073872896" ErrorLogSize="65536"
EventLogAddress="1074003968" EventLogSize="262144"
LicenseLogAddress="1073938432" LicenseLogSize="65536"
DatabaseAddress="1075838976" DatabaseSize="2097152"
PercentageVenousAdjustment="0" CullDelta="0" CullPercentage="0"
MaxTotalAberrations="0" ManualBGBackDateOffset="255" />
<LastSettingsRecord RecordNumber="3870" TimeStampUtc="2007-04-01
22:40:06.150" CorrectedTimeStampUtc="2007-04-01 22:40:06.150"
UserTimeStampUtc="2007-04-01 22:40:06.150" SkewOffset=""
UserOffset="-04:01:00" LowGlucoseThreshold="80" HighGlucoseThreshold="240"
TransmitterSerialNumber="25398" TransmitterCode="25398"
MeterSerialNumber="QHS4787CT" GlucoseUnits="mg/dL" ClockMode="AM/PM"
DisplayMode="Unblinded" GlucoseUnitsCode="0" ClockModeCode="0"
DisplayModeCode="1" RecordsInLastMeterTransfer="150"
LastMeterTransferTime="2007-04-01 17:22:08.090" LTSImplantTime="2049-12-12
00:00:00.000" NumberOf7DayLicenses="0" NumberOf3DayLicenses="0" />
<ErrorLog Size="0" IsCompressed="0" CompressedSize="0" />
<EventLog Size="0" IsCompressed="0" CompressedSize="0" />
<DatabaseRecords Size="131072" CompressedSize="28445"
IsCompressed="1">eJzcvQd4VtXW77tghjYJEOlSI01AQJoYkBJ6FZBmKGKki4CA9N6kifQSQgu992poAQER6SIERAgICEiXEgHhzv8
....</DatabaseRecords>
- <DatabaseBlockInfo>
<BlockInfo Index="0" Offset="0" Crc="39693" Number="2" Status="49164"
FirstRecordTimeStampUtc="2007-03-30 03:08:45.010"
LastRecordTimeStampUtc="2007-04-01 22:38:41.010" LastSkewOffset=""
LastUserOffset="-04:01:00" />
<BlockInfo Index="1" Offset="65536" Crc="20073" Number="3" Status="49164"
FirstRecordTimeStampUtc="2007-04-01 22:40:06.130"
LastRecordTimeStampUtc="2007-04-02 03:18:40.860" LastSkewOffset=""
LastUserOffset="-04:01:00" />
</DatabaseBlockInfo>
</ReceiverData>
- <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
- <SignedInfo>
<CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
- <Reference URI="">
- <Transforms>
<Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>8m7SuEmkcMB/nC/QIOrCkZxm9rk=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>v4V8b3wUxUbEvdh1FJIf+o1m2TFGBtUEE93eQ19/oSTBSH+j5NJZ2Txay/bOQpx7vudrVM4mseDlFWTgmJPOuiSOfLScIaecMQR9rpmHHZSbIhxIHVxzNQKeWhR95DNrT2qkh+QoXk5/kqhFnsif8WtaXtVYruFTiUeq+3OxoTQ=</SignatureValue>
- <KeyInfo>
- <KeyValue>
- <RSAKeyValue>
<Modulus>6AUxNWmWXkFuE3ZB67qlg2vkL4hdIZsg0e+NaKTMTHeMvNgfWylCErvDy0dTEyT8r+KdsTzFONmJIzSi9K52Czl/6B39l6+6ggWL6+TDdvbKucfGwTDvm4rfcJHlT8Uhd24E34dh1yXmtQSGyCyFc33KF54bxEDaMvuhxMaOEbk=</Modulus>
<Exponent>AQAB</Exponent>
</RSAKeyValue>
</KeyValue>
</KeyInfo>
</Signature>
</ReceiverDownload>
-----------------------------------------------------
Please note: I removed most of the characters in the line:
IsCompressed="1">eJzcvQd4VtXW77tghjYJEOlSI01AQJoYkBJ6FZBmKGKki4CA9N6kifQSQgu992poAQER6SIERAgICEiXEgHhzv8
...</DatabaseRecords>
and replaced with "..." not to make this post too heavy.
I would greatly appreciate any help from the XML gurus.
I can send the whole file (including the portion removed) plus there are
other files in the same directory (about 500Kb total) .
Thanks in advance.
Luca
----------------
If you want to reply privately please send me an e-mail at:
thot AT comcast DOT net
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
