xsl-list
[Top] [All Lists]

RE: breaking string into substrings or arrays (XSLT 1.0 solution) tokenize

2005-04-20 05:38:28
In which case use the solution Dimitre gave you. 
That meets all your needs.

regards DaveP

    -----Original Message-----
    From: Ali Choumane [mailto:ali(_dot_)choumane(_at_)imag(_dot_)fr] 
    Sent: 20 April 2005 13:27
    To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com; Pawson, David
    Cc: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
    Subject: RE: [xsl] breaking string into substrings or 
    arrays (XSLT 1.0 solution) tokenize
    
    Hi,
    I want a list of separator[','';''.'':''/'] without ' ' 
    (space is not a delimiter in my project).
    and I can't know the order, my be in an other entry the 
    order of delimiter is [';'':''.'',''/']. ??
    
    
    
    Quoting "Pawson, David" <David(_dot_)Pawson(_at_)rnib(_dot_)org(_dot_)uk>:
    
    > Ali, you keep changing your mind.
    > Tell us what separator you want.
    > One character, or a list of different characters?
    > 
    >  
    > 
    >     <paragraph>
    >     good morning; can you help me: alpha , alpha beta.
    >     </paragraph>
    >     
    >     I would have such result:
    >     <?xml version="1.0"?>
    >     <sentence>good morning</sentence>
    >     <sentence>can you help me<sentence>
    >     <sentence>alpha<sentence>
    >     <sentence>alpha beta<sentence>
    > 
    > Your separators might be ' ', ';' ','
    > 
    > what do you want?
    > 
    > daveP
    > 
    > --
    > DISCLAIMER:
    > 
    > NOTICE: The information contained in this email and any 
    attachments is 
    > confidential and may be privileged.  If you are not the intended 
    > recipient you should not use, disclose, distribute or 
    copy any of the 
    > content of it or of any attachment; you are requested to 
    notify the 
    > sender immediately of your receipt of the email and then 
    to delete it 
    > and any attachments from your system.
    > 
    > RNIB endeavours to ensure that emails and any attachments 
    generated by 
    > its staff are free from viruses or other contaminants.  
    However, it 
    > cannot accept any responsibility for any  such 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
    > To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
    > or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
    > --~--
    > 
    
    
    Ali CHOUMANE
    M2R III ,Univ Joseph fourrier, UFR IMA
    WAM/INRIA & GETA/CLIPS
    portable.      06 71 55 80 65
    Bureau(INRIA). 04 76 61 54 13
    Email. ali(_dot_)choumane(_at_)imag(_dot_)fr
    
    -------------------------------------------------
    envoyé via Webmail/IMAG !
    
    

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--