This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: replacing a character with a string



> Is there a way to replace a character with a string
yes or a fragment of xml 9see replace templates in teh archives of this
list or at jeni's site or in dave p's faq)
nd I want to replace

> all the hard returns with  </fo:block><fo:block>.  I can capture the returns
> by looking for &#xA;

But that isn't a string it's a non-weel formed fragment. So replacing
newlines by that isn't the xsl way, you want to chunk your original
string and surround each chunk by an fo:block element.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]