Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in xsl formatting object

 
srivatsan srinivasan
Greenhorn
Posts: 26
  • 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