aspose file tools*
The moose likes XML and Related Technologies and the fly likes problem in xsl formatting object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "problem in xsl formatting object" Watch "problem in xsl formatting object" New topic
Author

problem in xsl formatting object

srivatsan srinivasan
Greenhorn

Joined: Jun 08, 2001
Posts: 26
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
 
wood burning stoves
 
subject: problem in xsl formatting object