> Okay... everyone seems to agree that it is <BR/>.
> My question then is.. how do you get that BR to be displayed when
> translating the XML with a XSL?
> For example:
> My XML has this
> <paragraph>This is my first <BR/> page</paragraph>
> And my XSL has this
> <font color="red"><xsl:value-of select="paragraph"/></font>
Use <xsl:copy-of> instead of <xsl:value-of>. The latter extracts the string
value, which is the concatenation of the text content of the element.
Better still, use <xsl:apply-templates/> to process all elements
recursively.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: OK, stupid Q time, (continued)
- Utah Ingersoll - Thu, 15 Nov 2001 11:08:51 -0500 (EST)
- David Carlisle - Thu, 15 Nov 2001 11:47:25 -0500 (EST)
- Chen, Gin - Thu, 15 Nov 2001 11:19:22 -0500 (EST)
- Chen, Gin - Thu, 15 Nov 2001 12:10:06 -0500 (EST)
- Michael Kay - Thu, 15 Nov 2001 12:26:01 -0500 (EST) <=
- Carmelo Montanez - Thu, 15 Nov 2001 12:31:54 -0500 (EST)
|
|