nm_pavan has asked for the wisdom of the Perl Monks concerning the following question:
param :PREFIX|numeric|sTAP|null param :CLK_PERIOD|numeric|10000|null param :STAP_NUMBER_OF_BITS_FOR_SLICE||16|null param :STAP_SIZE_OF_EACH_INSTRUCTION|numeric|8|8-100 param :STAP_ENABLE_VERCODE|boolean|0
I have a text file in this format how can I convert this to xml format & use xml parser to create a temp hash out of it
Please can anybody help in getting this code i am not familar with xml
I need that XML in some other part of the algo ... I need in the following format <Param> <numeric>numeric</numeric> <sTap>stap</sTap> <null>null</null> </param> In this format parent is the is part n other are its child
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: text to xml conversion
by CountZero (Bishop) on May 24, 2011 at 06:48 UTC | |
by dHarry (Abbot) on May 24, 2011 at 08:40 UTC | |
by CountZero (Bishop) on May 24, 2011 at 10:07 UTC | |
|
Re: text to xml conversion
by davido (Cardinal) on May 24, 2011 at 06:51 UTC | |
|
Re: text to xml conversion
by roboticus (Chancellor) on May 24, 2011 at 10:17 UTC | |
|
Re: text to xml conversion
by Anonymous Monk on May 24, 2011 at 06:42 UTC |