This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in xsl formatting object

 
srivatsan srinivasan
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i am facing a problem with my xsl,This is my first example using formatting objects.when i run the following in the browser i get empty response,can anyone help me in solving the problem,
this is my xml file
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="srivat.xsl"?>
<greeting>
Hello from srivatsan
</greeting>
this is my xsl file
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" xmlns:fo="http://www.w3.org/TR/WD-xsl/FO"
result-ns="fo">
<xsl:template match="greeting">
<fo:block color="red" font-size="16pt">
<process-children/>
</fo:block>
</xsl:template>
</xsl:stylesheet>
Thanks in advance,
srivatsan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic