|
-
Mar 6th, 2003, 10:36 AM
#1
Thread Starter
Addicted Member
xml - resolve tags or display as html
XML file:
- <root>
<product id="1" text="<h1>Type</h1> The <b>name</b> of..."/>
<product id="2" text="<h1>Type</h1> The name of..."/>
...
</root>
i want to display the text, using the headers tags and the bold tags. if i use following xsl
<xsl:template match="/">
<xsl:for-each select="root/product">
<xsl:value-of select="@textl"/>
</xsl:for-each>
</xsl:template>
i just get the text displayed, but the tags are not resolved.
how can i display the text as html?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|