• yvonnek
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I am trying to create this VF page and the following errors appear:

 

Error: salesinvoicebulkprint line 13, column 10: The markup in the document following the root element must be well-formed   Error: The markup in the document following the root element must be well-formed.

 

What am I missing?  Here is the beginning of my code:

 

<apex:page standardController="c2g__codaInvoice__c" recordSetVar="invoices" extensions="ffps_scnbtnb.PrintInvoicesController" action="{!preCheck}" renderAs="{!IF(isError,null,'pdf')}" showHeader="{!IF(isError,true,false)}" sidebar="{!IF(isError,true,false)}" standardStylesheets="{!IF(isError,true,false)}" >

<apex:outputPanel rendered="{!NOT(isError)}">
<apex:repeat value="{!InvoiceList}" var="invoice">
<apex:repeat value="{!invoice.invoice}" var="salesInvoice">
<!-- CONTENT -->
</apex:repeat>
</apex:repeat>
</apex:outputPanel>

</apex:page>

<apex:variable var="styleFontColor" value="#000000" />
<apex:variable var="styleHeaderBGColor" value="#E4EAF4" />
<apex:variable var="styleHeaderFontColor" value="#000000" />
<apex:variable var="styleLineColor" value="#3B5E91" />
<head>
<style type="text/css">