home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="UTF-8"?> <structure version="2" schemafile="ExpReport.xsd" workingxmlfile="ExpReport.xml" templatexmlfile=""> <nspair prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance"/> <template> <match overwrittenxslmatch="/"/> <children> <template> <match match="expense-report"/> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <properties width="220"/> <children> <image> <properties border="0"/> <imagesource> <fixtext value="nanonull.gif"/> </imagesource> </image> </children> </tablecol> <tablecol/> <tablecol> <properties colspan="2"/> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <properties align="left" colspan="2" rowspan="2" width="502"/> <children> <text fixtext="Business Expense Report"> <styles font-size="x-large" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties bgcolor="#D2FFFF" colspan="2" valign="bottom"/> <children> <text fixtext="Currency: "> <styles font-size="x-small" font-weight="bold"/> </text> <text> <styles font-size="x-small" font-weight="bold"/> </text> <template> <match match="@currency"/> <children> <radiobutton ownvalue="1" checkedvalue="USD"> <styles font-size="x-small"/> <properties type="radio"/> </radiobutton> <text fixtext="Dollars"> <styles font-size="x-small"/> </text> </children> </template> <text fixtext=" "> <styles font-size="x-small"/> </text> <template> <match match="@currency"/> <children> <radiobutton ownvalue="1" checkedvalue="Euro"> <styles font-size="x-small"/> <properties type="radio"/> </radiobutton> <text fixtext="Euros"> <styles font-size="x-small"/> </text> </children> </template> <text fixtext=" "> <styles font-size="x-small"/> </text> <template> <match match="@currency"/> <children> <radiobutton ownvalue="1" checkedvalue="JPY"> <styles font-size="x-small"/> <properties type="radio"/> </radiobutton> <text fixtext="Yen"> <styles font-size="x-small"/> </text> </children> </template> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <properties bgcolor="#D2FFFF" colspan="2" valign="bottom"/> <children> <template> <match match="@detailed"/> <children> <checkbox ownvalue="1"> <properties type="checkbox"/> </checkbox> </children> </template> <text fixtext="Detailed report"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <children> <template> <editorproperties adding="all" autoaddname="1" editable="1" markupmode="hide"/> <match match="Person"/> <children> <newline/> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <properties bgcolor="#D2FFFF"/> <children> <tablecol> <styles border-bottom-color="black" border-bottom-style="solid" border-bottom-width="1pt"/> <properties align="left" colspan="6"/> <children> <text fixtext="Employee Information"> <styles font-family="Verdana" font-size="medium"/> </text> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <properties height="61" rowspan="2" width="66"/> </tablecol> <tablecol> <properties colspan="2" height="61" width="200"/> <children> <table> <properties border="0" width="400"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties bgcolor="#F3F3F3" width="100"/> <children> <template> <match match="First"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties bgcolor="#F3F3F3" width="200"/> <children> <template> <match match="Last"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <properties width="133"/> <children> <choice> <children> <choiceoption> <testexpression> <xpath value="string-length( First ) > 0"/> </testexpression> <children> <text fixtext="First Name"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <children> <text fixtext="First Name is required"> <styles color="#FF0000" font-size="x-small" font-weight="bold"/> </text> </children> </choiceoption> </children> </choice> </children> </tablecol> <tablecol> <children> <choice> <children> <choiceoption> <testexpression> <xpath value="string-length( Last ) > 0"/> </testexpression> <children> <text fixtext="Last Name"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <children> <text fixtext="Last Name is required"> <styles color="#FF0000" font-size="x-small" font-weight="bold"/> </text> </children> </choiceoption> </children> </choice> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> <tablecol> <properties colspan="2" height="61"/> <children> <table> <properties border="0" width="250"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties bgcolor="#F3F3F3" width="200"/> <children> <template> <match match="Title"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <properties width="200"/> <children> <text fixtext="Title"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> <tablecol> <properties height="61" width="500"/> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <properties colspan="2" height="61" width="200"/> <children> <table> <properties border="0" width="400"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties bgcolor="#F3F3F3" width="200"/> <children> <template> <match match="Email"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <children> <choice> <children> <choiceoption> <testexpression> <xpath value="string-length( Email ) > 0"/> </testexpression> <children> <text fixtext="E-Mail"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <children> <text fixtext="E-Mail is required"> <styles color="#FF0000" font-size="x-small" font-weight="bold"/> </text> </children> </choiceoption> </children> </choice> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> <tablecol> <properties colspan="2" height="61"/> <children> <table> <properties border="0" width="250"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties bgcolor="#F3F3F3" width="200"/> <children> <template> <match match="Phone"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <children> <text fixtext="Phone"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> <tablecol> <properties height="61" width="500"/> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </template> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <styles border-bottom-color="black" border-bottom-style="solid" border-bottom-width="1pt"/> <properties bgcolor="#D2FFFF"/> <children> <text fixtext="Expense List"> <styles font-family="Verdana" font-size="medium"/> </text> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> <choice> <children> <choiceoption> <testexpression> <xpath value="contains( @detailed , "true")"/> </testexpression> <children> <template> <editorproperties adding="all" autoaddname="1" editable="1" markupmode="hide"/> <match match="expense-item"/> <children> <table dynamic="1"> <properties border="0" width="100%"/> <children> <tableheader> <children> <tablerow> <properties bgcolor="#C0C0C0"/> <children> <tablecol> <properties bgcolor="white" width="66"/> </tablecol> <tablecol> <properties width="110"/> <children> <text fixtext="Type"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="122"/> <children> <text fixtext="Expense To"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="130"/> <children> <text fixtext="Date "> <styles font-size="x-small" font-weight="bold"/> </text> <text fixtext="(yyyy-mm-dd)"> <styles font-size="x-small" font-style="italic" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="150"/> <children> <text fixtext="Expense"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <children> <text fixtext="Details"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="205"/> <children> <text fixtext="Description"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> </children> </tablerow> </children> </tableheader> <tablebody> <children> <tablerow> <properties bgcolor="#E0E0E0"/> <children> <tablecol> <properties bgcolor="white" height="29" width="66"/> </tablecol> <tablecol> <properties height="29" width="110"/> <children> <template> <match match="@type"/> <children> <select ownvalue="1"> <properties size="0"/> <selectoption description="Meal" value="Meal"/> <selectoption description="Lodging" value="Lodging"/> <selectoption description="Travel" value="Travel"/> <selectoption description="Parking" value="Parking"/> <selectoption description="Entertainment" value="Entertainment"/> <selectoption description="Misc" value="Misc"/> </select> </children> </template> </children> </tablecol> <tablecol> <properties height="29" width="122"/> <children> <template> <match match="@expto"/> <children> <select ownvalue="1" enumeration="1"> <properties size="0"/> </select> </children> </template> </children> </tablecol> <tablecol> <properties height="29" width="130"/> <children> <template> <match match="Date"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> <tablecol> <properties align="right" height="29" width="150"/> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <properties align="left"/> <children> <template> <match match="expense"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> <tablecol> <properties align="right"/> <children> <choice> <children> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "USD""/> </testexpression> <children> <text fixtext="$"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "UKP""/> </testexpression> <children> <text fixtext="£"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "Euro""/> </testexpression> <children> <text fixtext="€"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "JPY""/> </testexpression> <children> <text fixtext="¥"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "AUD""/> </testexpression> <children> <text fixtext="AU"> <styles font-family="Verdana" font-size="x-small" font-weight="bold"/> </text> <text fixtext="$"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> </children> </choice> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> <tablecol> <properties align="right"/> <children> <choice> <children> <choiceoption> <testexpression> <xpath value=" @type = "Meal""/> </testexpression> <children> <template> <match match="Meal"/> <children> <template> <match match="@mealtype"/> <children> <text fixtext="Meal Type: "/> <select ownvalue="1"> <properties size="0"/> <selectoption description="dinner" value="dinner"/> <selectoption description="breakfast" value="breakfast"/> <selectoption description="lunch" value="lunch"/> <selectoption description="other" value="other"/> </select> <newline/> </children> </template> <template> <match match="Location"/> <children> <text fixtext="Location: "/> <field ownvalue="1"> <properties value=""/> </field> </children> </template> </children> </template> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" @type = "Lodging""/> </testexpression> <children> <template> <match match="Lodging"/> <children> <template> <match match="Name"/> <children> <text fixtext="Lodging Name: "/> <field ownvalue="1"> <properties value=""/> </field> <newline/> </children> </template> <template> <match match="Location"/> <children> <text fixtext="Location: "/> <field ownvalue="1"> <properties value=""/> </field> </children> </template> </children> </template> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" @type = "Travel""/> </testexpression> <children> <template> <match match="Travel"/> <children> <template> <match match="@means"/> <children> <text fixtext="Means: "/> <select ownvalue="1"> <properties size="0"/> <selectoption description="Taxi" value="Taxi"/> <selectoption description="CharterAir" value="CharterAir"/> <selectoption description="Airline" value="Airline"/> <selectoption description="Limo" value="Limo"/> <selectoption description="CharterSea" value="CharterSea"/> <selectoption description="Rail" value="Rail"/> <selectoption description="CharterLand" value="CharterLand"/> <selectoption description="Bus" value="Bus"/> </select> <newline/> </children> </template> <template> <match match="Destination"/> <children> <text fixtext="Destination: "/> <field ownvalue="1"> <properties value=""/> </field> <newline/> </children> </template> <choice> <children> <choiceoption> <testexpression> <xpath value=" @means = "Taxi""/> </testexpression> <children> <template> <match match="Mileage"/> <children> <text fixtext="Mileage: "/> <field ownvalue="1"> <properties value=""/> </field> </children> </template> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" @means = "Limo""/> </testexpression> <children> <template> <match match="Mileage"/> <children> <field ownvalue="1"> <properties value=""/> </field> </children> </template> </children> </choiceoption> </children> </choice> </children> </template> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" @type = "Parking""/> </testexpression> <children> <template> <match match="Parking"/> <children> <template> <match match="Location"/> <children> <text fixtext="Location: "/> <field ownvalue="1"> <properties value=""/> </field> </children> </template> </children> </template> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" @type = "Entertainment""/> </testexpression> <children> <template> <match match="Entertainment"/> <children> <table dynamic="1"> <properties border="0"/> <children> <tableheader> <children> <tablerow> <children> <tablecol> <styles border-bottom-color="black" border-bottom-style="solid" border-bottom-width="thin"/> <properties align="center"/> <children> <text fixtext="Client-name"/> </children> </tablecol> </children> </tablerow> </children> </tableheader> <tablebody> <children> <tablerow> <children> <tablecol> <properties bgcolor="#F3F3F3"/> <children> <template> <match match="Client-name"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </template> </children> </choiceoption> <choiceoption> <testexpression> <xpath value="@type = "Misc""/> </testexpression> <children> <template> <match match="Misc"/> <children> <template> <match match="@misctype"/> <children> <text fixtext="Misc. Type: "/> <select ownvalue="1"> <properties size="0"/> <selectoption description="TeamBuilding" value="TeamBuilding"/> <selectoption description="Tips" value="Tips"/> <selectoption description="Fines" value="Fines"/> <selectoption description="Rental" value="Rental"/> <selectoption description="EverythingElse" value="EverythingElse"/> <selectoption description="Tolls" value="Tolls"/> <selectoption description="Telephone" value="Telephone"/> </select> </children> </template> </children> </template> </children> </choiceoption> </children> </choice> </children> </tablecol> <tablecol> <properties height="29" width="205"/> <children> <template> <match match="description"/> <children> <paragraph paragraphtag="div"> <children> <xpath allchildren="1"/> </children> </paragraph> </children> </template> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </template> </children> </choiceoption> <choiceoption> <children> <template> <editorproperties adding="all" autoaddname="1" editable="1" markupmode="hide"/> <match match="expense-item"/> <children> <table dynamic="1"> <properties border="0"/> <children> <tableheader> <children> <tablerow> <properties bgcolor="#C0C0C0"/> <children> <tablecol> <properties bgcolor="white" width="66"/> </tablecol> <tablecol> <properties width="110"/> <children> <text fixtext="Type"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="122"/> <children> <text fixtext="Expense To"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="130"/> <children> <text fixtext="Date "> <styles font-size="x-small" font-weight="bold"/> </text> <text fixtext="(yyyy-mm-dd)"> <styles font-size="x-small" font-style="italic" font-weight="bold"/> </text> </children> </tablecol> <tablecol> <properties width="150"/> <children> <text fixtext="Expense"> <styles font-size="x-small" font-weight="bold"/> </text> </children> </tablecol> </children> </tablerow> </children> </tableheader> <tablebody> <children> <tablerow> <properties bgcolor="#E0E0E0"/> <children> <tablecol> <properties bgcolor="white" height="29" width="66"/> </tablecol> <tablecol> <properties height="29" width="110"/> <children> <template> <match match="@type"/> <children> <select ownvalue="1"> <properties size="0"/> <selectoption description="Meal" value="Meal"/> <selectoption description="Lodging" value="Lodging"/> <selectoption description="Travel" value="Travel"/> <selectoption description="Parking" value="Parking"/> <selectoption description="Entertainment" value="Entertainment"/> <selectoption description="Misc" value="Misc"/> </select> </children> </template> </children> </tablecol> <tablecol> <properties height="29" width="122"/> <children> <template> <match match="@expto"/> <children> <select ownvalue="1" enumeration="1"> <properties size="0"/> </select> </children> </template> </children> </tablecol> <tablecol> <properties height="29" width="130"/> <children> <template> <match match="Date"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> <tablecol> <properties align="right" height="29" width="150"/> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <properties align="left"/> <children> <template> <match match="expense"/> <children> <xpath allchildren="1"/> </children> </template> </children> </tablecol> <tablecol> <properties align="right"/> <children> <choice> <children> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "USD""/> </testexpression> <children> <text fixtext="$"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "UKP""/> </testexpression> <children> <text fixtext="£"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "Euro""/> </testexpression> <children> <text fixtext="€"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "JPY""/> </testexpression> <children> <text fixtext="¥"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> <choiceoption> <testexpression> <xpath value=" /expense-report/@currency = "AUD""/> </testexpression> <children> <text fixtext="AU"> <styles font-family="Verdana" font-size="x-small" font-weight="bold"/> </text> <text fixtext="$"> <styles font-family="Verdana" font-weight="bold"/> </text> </children> </choiceoption> </children> </choice> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </template> </children> </choiceoption> </children> </choice> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> <choice> <children> <choiceoption> <testexpression> <xpath value="sum(/expense-report/expense-item/expense)>100"/> </testexpression> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol> <properties align="left" colspan="2" width="153"/> <children> <text fixtext="This expense report has exceeded "> <styles font-size="x-small"/> </text> <text fixtext="100"> <styles font-size="x-small" font-weight="bold"/> </text> <text fixtext=" "> <styles font-size="x-small"/> </text> <template> <styles font-size="x-small"/> <editorproperties adding="mandatory" autoaddname="0" editable="0" markupmode="hide"/> <match match="@currency"/> <children> <xpath allchildren="1"/> </children> </template> <text fixtext=" which under corporate policy requires approval of you direct superior. All forms must be presented in triplicate and be sumitted to the human resouces department server in its current XML form."> <styles font-size="x-small"/> </text> </children> </tablecol> </children> </tablerow> <tablerow> <children> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties height="101" valign="bottom" width="153"/> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol/> </children> </tablerow> <tablerow> <children> <tablecol> <children> <text fixtext="Date"/> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> <tablecol> <styles border-color="#D3D3D3" border-style="solid" border-width="1pt"/> <properties height="101" valign="bottom"/> <children> <table> <properties border="0" width="100%"/> <children> <tablebody> <children> <tablerow> <children> <tablecol/> </children> </tablerow> <tablerow> <children> <tablecol> <children> <text fixtext="Signature"/> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </choiceoption> <choiceoption/> </children> </choice> </children> </tablecol> </children> </tablerow> </children> </tablebody> </children> </table> </children> </template> </children> </template> <template> <match match="italic"/> <children> <xpath allchildren="1"> <styles font-style="italic"/> </xpath> </children> </template> <template> <match match="strong"/> <children> <xpath allchildren="1"> <styles font-weight="bold"/> </xpath> </children> </template> <pagelayout> <properties pagemultiplepages="0" pagenumberingformat="1" pagenumberingstartat="1" paperheight="11in" papermarginbottom="0.79in" papermarginleft="0.6in" papermarginright="0.6in" papermargintop="0.79in" paperwidth="8.5in"/> </pagelayout> </structure>