in reply to Re: Strip XML document
in thread Strip XML document
Hi
I am back again regarding this because I realised that some of my TUVs contain properties. So, this is an example:
<tu changedate="20180321T113135Z" creationdate="20180321T113135Z" chan +geid="user2" tuid="2"> <prop type="client"> </prop> <prop type="project">yes</prop> <prop type="corrected">no</prop> <prop type="aligned">no</prop> <tuv xml:lang="en"><seg>Hello <b>world!</b></seg></tuv> <tuv xml:lang="fr"> <prop type="client"> </prop> <prop type="project">yes</prop> <prop type="corrected">no</prop> <prop type="aligned">no</prop> <seg>Bonjour <b> monde</b></seg></tuv> </tu>
How can I get these properties and distinguish them from the others? For instance, the column may have the name TU:client and TUV:client or so.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Strip XML document
by poj (Abbot) on Dec 18, 2018 at 16:42 UTC | |
by corfuitl (Sexton) on Dec 19, 2018 at 13:20 UTC | |
by poj (Abbot) on Dec 19, 2018 at 13:40 UTC | |
by corfuitl (Sexton) on Dec 19, 2018 at 18:18 UTC | |
by corfuitl (Sexton) on Dec 19, 2018 at 16:12 UTC | |
by poj (Abbot) on Dec 19, 2018 at 17:22 UTC |
In Section
Seekers of Perl Wisdom