I have a simple docx file where I just type in as follows
Apple
Orange
Papaya
Now I have xsl file which is written like this
<?xml version="1.0" encoding="utf-8"?>
<
xsl:stylesheet version="1.0
"
xmlns:xsl
="http://www.w3.org/1999/XSL/Transform
"
xmlns:w
="http://schemas.openxmlformats.org/wordprocessingml/2006/3/main
" exclude-result-prefixes="w
">
<
xsl:output method="html
" />
<xsl:template match="/">
<html>
<body>
<p>Before Loop</p>
<xsl:for-each select="w:p/w:r">
<p>Within Loop</p>
<p>
<xsl:value-of select="w:t"/>
</p>
</xsl:for-each>
<p>After Loop</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Now my problem is that I am not able to get into the for-each loop?
I am using java to parse. I am sure my parser works perfectly but it only prints
"Before Loop" and "After Loop" in the html output file.
Help me out.Please
Thanx in advance
broshnikanta@gmail.com