Hello.
I'm relatively new to applescript and I'm having some problems with the following:
I have a text file with text like this:
"<ipp-com:TotalEfectivosEquivalentesFinalPeriodo decimals="0" contextRef="S22008_A-41002288_dpai" unitRef="euro">537691000</ipp-com:TotalEfectivosEquivalentesFinalPeriodo>
</ipp-gen:EstadoFlujosEfectivoIndividual>
<ipp-gen:BalanceConsolidado>
<ipp-gen:ActivoNoCorrienteNiif decimals="0" contextRef="S22009_A-41002288_icc" unitRef="euro">7993707000</ipp-gen:ActivoNoCorrienteNiif>
<ipp-gen:ActivoNoCorrienteNiif decimals="0" contextRef="S22008_A-41002288_ipac" unitRef="euro">5107430000</ipp-gen:ActivoNoCorrienteNiif>"
and I'm trying to write an applescript that will copy the text between the ">" "<" characters, when the line begins a specific way (for example, when the line begins with "<ipp-gen:ActivoNoCorrienteNiif decimals="0" contextRef="S22009".)
I've been reading and experimenting with applescript for some time, but I'm strugggling with this. Any pointers or help would be greatly appreciated.
Thanks!
I'm relatively new to applescript and I'm having some problems with the following:
I have a text file with text like this:
"<ipp-com:TotalEfectivosEquivalentesFinalPeriodo decimals="0" contextRef="S22008_A-41002288_dpai" unitRef="euro">537691000</ipp-com:TotalEfectivosEquivalentesFinalPeriodo>
</ipp-gen:EstadoFlujosEfectivoIndividual>
<ipp-gen:BalanceConsolidado>
<ipp-gen:ActivoNoCorrienteNiif decimals="0" contextRef="S22009_A-41002288_icc" unitRef="euro">7993707000</ipp-gen:ActivoNoCorrienteNiif>
<ipp-gen:ActivoNoCorrienteNiif decimals="0" contextRef="S22008_A-41002288_ipac" unitRef="euro">5107430000</ipp-gen:ActivoNoCorrienteNiif>"
and I'm trying to write an applescript that will copy the text between the ">" "<" characters, when the line begins a specific way (for example, when the line begins with "<ipp-gen:ActivoNoCorrienteNiif decimals="0" contextRef="S22009".)
I've been reading and experimenting with applescript for some time, but I'm strugggling with this. Any pointers or help would be greatly appreciated.
Thanks!