This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
differentiation between text() and entities???
- To: <xsl-list at mulberrytech dot com>
- Subject: differentiation between text() and entities???
- From: zuzmi at brience dot com (Z. Uzmi)
- Date: Mon, 12 Jun 2000 11:13:55 -0700
- Reply-To: xsl-list at mulberrytech dot com
Hi,
How does xslt between text() and entities in an xml file? And how to force
it not to do that?
Example:
I have template rule that inserts a <br/> tag after the text. If the input
file has something like following:
some text other text
then my (undesired) output is as follows:
some text<br> <br>other text<br>
while I want the output to be:
some text other text<br>
If I remove the <br/> from my rule altogether, I get the same output as the
input while I want an extra <br> at the end of the text. Any suggestions on
how to force the xslt (i'm using xalan-J) to consider the entities as just
plain text???
Thanks much,
Zartash
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list