The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 import xml-type of data

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yt47106 Posted - 02/13/2013 : 4:07:16 PM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi,

I need to import data from a xlm-file with each parameter defined in the structure as in the example below. Is there by any chance some info already available on how to achieve this? Of course the file also contains a large number of rows with useless info that I do not want to extract. The info I want to use from each parameter is:
<NAME> to be used as long name
<DESC> ; used as notes
<UNIT> ; used as unit
<DEC> ; used as number of decimals

---------------------------------------
..........(3000 rows of additional info)

<PAR>
<NAME>Param_1</NAME>
<TYPE>f</TYPE>
<DESC>TextforParam_1</DESC>
<UNIT>r/sē</UNIT>
<DEC>2</DEC>
<RMIN></RMIN>
<RMAX></RMAX>
<VAL>-0.0551224;-1.90533;-1.03676;-0.78694;-0.762323;3.12175;5.98311;0.460688;-2.71742;-0.927327;-0.883293;-3.47076;-3.09572;-0.931867;0.815277;-0.508048;-0.0653076;0.873419;-</VAL> ; measured values for Param_1
</PAR>

1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 02/14/2013 : 5:16:58 PM
OriginC has Tree and TreeNode data type, internally XML, so it should be quite straight forward, see this

http://ocwiki.originlab.com/index.php?title=OriginC:Tree-Load#Examples

CP

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000