![]() |
|
|
google unix.com
|
|||||||
| Fóruns | Registar | Fórum Regimento | Ligações | Álbuns | FAQ | Lista deputados | Calendário | Pesquisa | Today's Posts | Mark Forums Read |
| Programação Shell Script e Post perguntas sobre ksh, CSH, SH, BASH, Perl, PHP, SED, Awk e outros scripts shell e shell scripts línguas aqui. |
Mais UNIX e Linux Fórum Tópicos Você pode achar Helpfull
|
||||
| Fio | Thread Starter | Fórum | Respostas | Última postagem |
| vi para remover linhas em arquivo | kjbaumann | UNIX para Dummies Perguntas & Respostas | 2 | 03-13-2009 03:40 |
| Remover linhas usando perl | mohan705 | UNIX & avançada para usuários experientes | 6 | 06-19-2008 04:22 |
| Remover linhas com n colunas | Krispy | Programação Shell Script e | 2 | 11-10-2006 05:41 |
| Como remover todas as linhas com algo além de números | Juha | Programação Shell Script e | 2 | 09-21-2006 05:48 |
| remover linhas desnecessárias | nazri | UNIX para Dummies Perguntas & Respostas | 3 | 11-23-2001 08:06 |
|
|
Linkback | Thread Tools | Pesquisar este Thread | Rate Thread | Display Modes |
|
||||
|
Precisa remover linhas
Todas oi,
Eu tenho um arquivo xml. E eu preciso remover o cabeçalho e inofrmation o tralier as informações do arquivo xml. Tenho colado a amostra xml abaixo: <? xml version \u003d "1.0" encoding \u003d "UTF-8"?> - <! - Gerado por Ascential Software Corporation, DataStage - XMLOutput fase - Seg 19 nov 15:49:21 2007 -> - <Xtd: EBO xmlns: xtd \u003d "http://service.aaaa.com/GenericSchema" xmlns: esb \u003d "http://service.aaaa.com/schemas/ESBHeader" xmlns: XSI \u003d "http:// www.w3.org/2001/XMLSchema-instance "> - <esb:ESBHeader> <esb:EnvironmentName> Desenvolvimento </ esb: EnvironmentName> <esb:VersionNbr> 1.0 </ esb: VersionNbr> - <esb:BusinessEvent> <esb:TransactionTypeCode> PurchaseOrderFullRfh </ esb: TransactionTypeCode> <esb ESCRIÇÃO> Compra _Order_Refresh </ esb ESCRIÇÃO> <esb:Timestamp> 2007-11-19 15:49:12 </ esb: Timestamp> <esb:TotalRecordCount> 34 </ esb: TotalRecordCount> <esb:EventID> 111 </ esb: EventID> </ esb: BusinessEvent> - <esb:SourceSystem> <esb:ApplicationName> DWA </ esb: ApplicationName> </ esb: SourceSystem> - <esb:RoutingInformation> - <esb:Type> <esb:LabelName> Transaction_Type </ esb: LabelName> <esb:RoutingTypeName> Transação </ esb: RoutingTypeName> <esb:LabelValueText> Purchase_order </ esb: LabelValueText> </ esb: Tipo> </ esb: RoutingInformation> - <Esb atasetInfo> <esb atasetSizeQty> 30 </ esb atasetSizeQty> <esb:TotalDatasetCount> 2 </ esb: TotalDatasetCount> <esb atasetNbr> 1 </ esb atasetNbr> <esb:KeyField2> 1 </ esb: KeyField2> </ esb atasetInfo> </ esb: ESBHeader> - <xtd:EBOPayload> - <Xtd ata> <! [CDATA [ 0000082973 | 0000000004 | QP799-MA | HOL 2002 | 0000000001 | 01 | 0000000002 | 0000073994 | 0000000004 | KS754-5A | BAS 9999 | 0000000092 | 11 | 0000000093 | 0000081982 | 0000000004 | QP799-VA | HOL 2002 | 0000000001 | 01 | 0000000002 | 0000082975 | 0000000004 | QP799-YA | HOL 2002 | 0000000001 | 01 | 0000000002 | ]]> </ xtd ata> </ xtd: EBOPayload> </ xtd: EBO> Bascially eu preciso remover as linhas de cabeçalho a "<! [CDATA [" e as linhas de "]]>" linha até o final. Please advise. Thanks & Regards, Kumar66 |
| Marcadores |
| Thread Tools | Pesquisar este Thread |
| Display Modes | Esta taxa Thread |
|
|