[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Formatting text to include html tags...?
Using common XSLT I do not see a problem. <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <html> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="Test"> <xsl:apply-templates/><br/> </xsl:template>
<xsl:template match="I"> <i><xsl:apply-templates/></i> </xsl:template> </xsl:transform> If wanting to copy your XMl or parts of it make use of xsl:copy-of . This will perform a deep-copy where everything is copied over into your output. SOmehow I get the idea, your not really famailiar with XSLT,.... just yet. :-) The xsl:value-of returns the concatenated string of your expression, in your case Test. Look into the functionality of value-of and templates/apply-templates, I think that would clarify a lot. RH At 09:53 AM 11/5/01 +0000, you wrote: Hello again problem solvers Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|