[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: preceding/following character?
> Cool; thanks! If I understand right, this has the advantage that it > the separate templates makes it easier to use in the context of > importing stylesheets. Not really. Just that it works rather than not works:-) > Maybe use translate() to convert " ." to "."? replace() not translate() translate() only does single character translations. Note also that my code doesn't cope with the . not being a sibling of the cite (the test file I posted demonstrates that, but I don't think I highlighted it) see the result I posted Some text and more text [XXX1]<EM>. S The . inside the em isn't pulled before the cite. If you need to do that I'd do as Mike suggested and do a first pass that normalises things so the cite and . are always siblings. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|