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]

BOUNCE xsl-list@lists.mulberrytech.com: global taboo bodymatch "/FREE/" at line 22


>From diegobt2@MailAndNews.com  Tue Jan  2 07:32:47 2001
Received: from MailAndNews.com (MailAndNews.com [199.29.68.161])
	by biglist.com (8.8.8/8.8.5/BL-2) with ESMTP id HAA29594
	for <XSL-List@lists.mulberrytech.com>; Tue, 2 Jan 2001 07:32:47 -0500 (EST)
X-WM-Posted-At: MailAndNews.com; Tue, 2 Jan 01 07:32:25 -0500
X-WebMail-UserID:  diegobt2
Date: Tue, 2 Jan 2001 07:32:25 -0500
Sender: diego perez <diegobt2@MailAndNews.com>
From: diego perez <diegobt2@MailAndNews.com>
To: XSL-List@lists.mulberrytech.com
X-EXP32-SerialNo: 00000000
Subject: Adding tags within a text node
Message-ID: <3A86397F@MailAndNews.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: InterChange (Hydra) SMTP v3.61.08

HI EVERYONE!!
Im new to this list (and kinda new to XSLT) and have the following question:
I got the following XML structure:

<news>
   <id>1</id>
   <content>bl STR abla STR blablababalbalaba STR lbalablabalablabal slbgsklg 
</content>
</news>

I need an xsl file that replaces all the occurences of "STR" within the 
content node with "<tag>STR</tag>" but I havent a clue howto do it, since all 
I seem to find is to operate with nodes and not within. I thought perhaps 
scripting would do the trick but it doesnt seem to add tags (I mean modify a 
XML structure by means of a srcipt).

I would be most grateful for any kind of assistance. thanks a lot

/diego

------------------------------------------------------------
 Get your FREE web-based e-mail and newsgroup access at:
                http://MailAndNews.com

 Create a new mailbox, or access your existing IMAP4 or
 POP3 mailbox from anywhere with just a web browser.
------------------------------------------------------------

 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]