SACAR ESPACIOS Y SALTOS DE LINEA * SOLUCIONADO

SACAR ESPACIOS Y SALTOS DE LINEA * SOLUCIONADO

Postby jbrita » Tue Aug 29, 2017 2:31 pm

amigos, necesito sacarle a este xml, los saltos de lineas y espacios en blancos


<TED version="1.0">
<DD>
<RE>4878874-2</RE>
<TD>39</TD>
<F>20</F>
<FE>2017-04-10</FE>
<RR>0-0</RR>
<RSR/>
<MNT>2990</MNT>
<IT1>Expediente del Remate</IT1>
<CAF version="1.0">
<DA>
<RE>4878874-2</RE>
<RS>ANTONIO SALVADOR CEREIJO AGUAD</RS>
<TD>39</TD>
<RNG><D>1</D><H>1000</H></RNG>
<FA>2017-01-03</FA>
<RSAPK><M>zk2iRttXCP/WlpffwRVnNRacPc0H5tcO/GGP61Tg4bUvfmhKmSkhYM7Sy2vYq00sJasuYo3pFnMMGZhqJnZ1Mw==</M><E>Aw==</E></RSAPK>
<IDK>100</IDK>
</DA>
<FRMA algoritmo="SHA1withRSA">kljqt1dm9STN51aHRphNffyOnlGxneOBBepPKtQ/pWRtsk/+3JFgVzEimMnZXnvcCpFy9UsOR8c8w7N1SHNXvQ==</FRMA>
</CAF>
<TSTED>2017-04-03T13:24:28</TSTED>
</DD>
<FRMT algoritmo="SHA1withRSA">wUG+M9qR/0GQs+TjcHKvC6EQ4wvunF+gUlRNbZ5o4DtlchoUUka8tOG/2m4yP+ouIbMW1ZSI+mZurqjLj+icEQ==</FRMT>
</TED>

quiero juntar todo sin espacios ni saltos
saludos
Last edited by jbrita on Wed Aug 30, 2017 11:34 pm, edited 1 time in total.
jbrita
 
Posts: 502
Joined: Mon Jan 16, 2006 3:42 pm

Re: SACAR ESPACIOS Y SALTOS DE LINEA

Postby karinha » Tue Aug 29, 2017 3:33 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: SACAR ESPACIOS Y SALTOS DE LINEA

Postby Antonio Linares » Wed Aug 30, 2017 8:34 am

#include "FiveWin.ch"

...

cXML = StrTran( cXML, CRLF, "" )
cXML = StrTran( cXML, " ", "" )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 27 guests