On Jan 23, 2006, at 7:36 AM, Reza Ghaffaripour wrote:
hi list,
I started xsl a couple of hours ago on a new project and my
question may seem stupid.
in java, can we convert xml to html using xslt and give it some
format, such as making some parts bold ?
This is more of an XSL than an FOP-related question, but thie XML to
HTML article is a good spot to start[1].
They have an example where this article/title element:
<article fname="19990101_xsl">
<title>XML Style Sheets</title>
...
</article>
is converted w a <p><b>... using:
<xsl:template match="article/title">
<P><B><xsl:apply-templates/></B></P>
</xsl:template>
I hope this helps!
Web Maestro Clay
p.s.
[1] XML to HTML article
http://www.webdevelopersjournal.com/articles/xml_to_html.htm
[2] XSL FAQ
http://www.dpawson.co.uk/xsl/sect2/sect21.html
[3] XSL FAQ - HTML
http://www.dpawson.co.uk/xsl/sect2/N4554.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]