Well, I solved the previous bug. Finally, there was an Unicode mark at the
begining of my xml file.
But now I got another bug. The exception states that I dont have any root
element in my document... and it is there!!!
Do you have some other suggestion for this kind of exception?
Thanks Oscar
Perhaps the problem is in the xsl:apply-templates element:
<fo:page-sequence master-reference="only">
<fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="//ATOM"/> </fo:flow>
</fo:page-sequence>
Notice it shows "//ATOM"? Since "ATOM" is the root element ("/ATOM"), this could be problem (I'm not sure, though). Try changing this to:
<fo:page-sequence master-reference="only">
<fo:flow flow-name="xsl-region-body"> <xsl:apply-templates select="ATOM"/> </fo:flow>
</fo:page-sequence>
I've remove the leading "/" since it's referenced in the original <xsl:template match="/"> tag/attribute. If this doesn't work, or make the "ATOM" element/node a child of a root element such as "doc":
<?xml version = '1.0'?>
<doc>
<ATOM>
<NAME>
Plata
</NAME>
</ATOM>
</doc>Perhaps that'll work better?
Web Maestro Clay
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
