<?xml version="1.0" encoding="UTF-8"?>
<pdx:document xmlns:pdx="http://www.phpdocx.com/main" >
    <pdx:content>
        <pdx:wordFragments>
            <pdx:wordFragment pdx:wordFragmentName="pageNumberFragment" pdx:target="defaultHeader">
                <pdx:content>
                    <pdx:addPageNumber pdx:numberType="page-of" pdx:pStyle="pgStyle" pdx:textAlign="right" />
                </pdx:content>
            </pdx:wordFragment>
        </pdx:wordFragments>
        <pdx:addFooter>
            <pdx:default pdx:wordFragmentName="pageNumberFragment" />
        </pdx:addFooter>
        <pdx:addText>
            <pdx:textRun>
                <pdx:data pdx:dataId="" pdx:dataType="text">This is the first page.</pdx:data>
            </pdx:textRun>
        </pdx:addText>
        <pdx:addBreak pdx:type="page" pdx:number="1" />
        <pdx:addText>
            <pdx:textRun>
                <pdx:data pdx:dataId="" pdx:dataType="text">This is the second page.</pdx:data>
            </pdx:textRun>
        </pdx:addText>
        <pdx:addBreak pdx:type="page" pdx:number="1" />
         <pdx:addText>
            <pdx:textRun>
                <pdx:data pdx:dataId="" pdx:dataType="text">This is the third page.</pdx:data>
            </pdx:textRun>
        </pdx:addText>
        <pdx:addBreak pdx:type="page" pdx:number="1" />
         <pdx:addText>
            <pdx:textRun>
                <pdx:data pdx:dataId="" pdx:dataType="text">This is the fourth page.</pdx:data>
            </pdx:textRun>
        </pdx:addText>
    </pdx:content>
</pdx:document>