[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Insert a tag inside a text
2005/9/12, David Carlisle <davidc@xxxxxxxxx>: > > XSLT never processes tags, but it is possible to insert element nodes. > You just need to use a replace template (from the faq) and replace > a by <span class="accesskey">a</span>. (It's even easier in xslt2 where > you could use xsl:analyze-string for this). > > David > > Thanks for your reply. a) Yes, I meant element nodes but I expressed it wrongly. b) Yes but notice that I don't want to insert a span node with an "a" always. That letter is dependent on the accesskey attribute of the label, and I want to place only *one* span node, not 'n' number of elements if the text contains many 'a' letters. Is this possible with that replace template you mention? Thanks in advance again. Andrew [ knocte ] --
|
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
|