This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
reolacing tags
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] reolacing tags
- From: "Amiceto Lopez" <aniceto at overthenet dot tv>
- Date: Fri, 19 Oct 2001 12:24:50 +0200
- Organization: overthenet
- Reply-To: xsl-list at lists dot mulberrytech dot com
hi, the problem is:
wherever this is found <OTNSC-B></OTNSC-B>(in xml file)
letters letters letters <OTNSC-B>text text</OTNSC-B> letters letters
replace it (in the html output) in the same position with <b></b>
letters letters letters <b>text text</b> letters letters
Samples:
XML file:
<body>
<news>
<title>Titulo de la new comnes <OTNSC-B>tenebant</OTNSC-B> inde toro
pater.</title>
<text>Texto de la new <OTNSC-B>Fracti bello</OTNSC-B> fatisque repulsi
ducto</text>
</news>
<news>
<title>asd asdasd asdad <OTNSC-B>fghfg</OTNSC-B> fhfg eyeye df d
dfh</title>
<text>ewferf erfer erg<OTNSC-B>yuky aedths</OTNSC-B> dfgdf dfgdfg
dfgd</text>
</news>
</body>
XSL file resume:
<html>
<head>
<title>NEWS</title>
</head>
<body>
<xsl:for-each select="news">
<p><xsl:value-of select="title"/></p>
<p><xsl:value-of select="news"/></p>
</xsl:for-each>
</body>
</html>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list