[xep-support] XSL validation - Easy answer - line 1: Incorrect top element - should be 'root'

frederic.ouellet at desjardins.com frederic.ouellet at desjardins.com
Tue Oct 26 12:17:17 PDT 2004






Hello group!

I try a little test on my PDF generator on weblogic server.

I want to generate an empty PDF document.(it is a feature ask for my generator, so I must test it to proof that's work...)

So here is my xsl:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
         </fo:root>
</xsl:stylesheet>

The validation process give this error:

(document
  (validate
    [error] line 1: Incorrect top element - should be 'root'
    [validation total: 1 error])
  (compile )
  (format )
  (generate [output-format pdf]))

I have search google and I don't find any occurence for this error.  :o(

I have played with the XSL and the tag and after 2 hours, I give up and send it to you.

What should I do with this top element?

Best Regards,
Frédéric Ouellet


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list