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]

!!!showing HTML data in XML files using XSL!!!


I did the XSL at the end, but what I'd get back if the xml is like this:

<root>
<text><I><B>here is some info</B></I></text>
</root>

is this

<I><B>here is some info</B></I> instead of having the text italiced or
bolded...

XSL:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:template match="@*">
	<xsl:copy>
		<xsl:apply-templates
select="@*"/>
	</xsl:copy>
</xsl:template>

<xsl:template match="root">
<html>
<body>
	<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="text">
	<xsl:apply-templates />
</xsl:template>
</xsl:stylesheet>

How can I fix that?


Thanks in advance!


Rosa

 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]