Hi guys,
I have this problem where I would like to transform <br/> in html to xsl.
Any idea? Thanks!
Hi
I assume u mean something like this...
<xsl:element name="br" />
This is the XSL equivalent for <br/>. You can do the same for <hr/> or any HTML elements.
For attributes,
<xsl:element name="input">
<xsl:attribute name="type">button</xsl:attribute>
<xsl:attribute name="value">Press Me!</xsl:attribute>
</xsl:element>
This is equivalent to <input type="button" value="Press Me!"/>.
Hope it's of help.
html to xsl.
Do you mean transforming xsl to html or xsl to html.