Subject: RE: [xsl] XSLT match with regex what's the best current solution? From: DPawson@xxxxxxxxxxx Date: Thu, 17 Jan 2002 10:48:27 -0000 |
Mike said. > Thanks: it would be even more useful if you could describe > these in terms of > a sample input and the required output. Actual raw input 071186|9493|||14/6/95 00:00:00||071186*RNIB*|1|03:59|||N|N||RNIB|14/6/95 00:00:00||$a891.43$c19|$aChattopadhyay$hSharatchandra|$aPanditji|$aHindi$xMo dern Indic literature|Hemangini Ranade required output <r><f>071186</f><f>9493</f><f></f><f></f><f>14/6/95 00:00:00</f><f></f><f>071186*RNIB*</f><f>1</f><f>03:59</f><f></f><f></f><f>N </f><f>N</f><f></f><f>RNIB</f><f>14/6/95 00:00:00</f><f></f><f>Hemangini Ranade</f><f>$a891.43$c21</f><f>$aChattopadhyay$hSharatchandra</f><f>$aPandi tji$eSharatchandra Chattopadhyay</f><f>$aHindi$xModern Indic Literature</f><f></f><f></f><f></f></r> A text processor puts in initial tags. You might also note the sub fields, which are $ seperated. <f>$aHindi$xModern Indic Literature</f> would be nice to split into <f><cat1>Hindi</cat1><cat2>Modern Indic Literature</cat2></f> HTH DaveP - NOTICE: The information contained in this email and any attachments is confidential and may be legally privileged. If you are not the intended recipient you are hereby notified that you must not use, disclose, distribute, copy, print or rely on this email's content. If you are not the intended recipient, please notify the sender immediately and then delete the email and any attachments from your system. RNIB has made strenuous efforts to ensure that emails and any attachments generated by its staff are free from viruses. However, it cannot accept any responsibility for any viruses which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT match with regex wha, Michael Kay | Thread | [xsl] replacing a string in a nodes, Todd Binder |
Re: [xsl] xhtml DOCTYPE problem, Joerg . Heinicke | Date | Re: [xsl] xhtml DOCTYPE problem, Steven Noels |
Month |