cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Sealy-Bell" <asealyb...@enterpriseis.co.uk>
Subject Help, "Can't have more than one root on a DOM!"
Date Fri, 04 Aug 2000 16:21:20 GMT
Hi.  I am using Cocoon 1.7.2.  When I try an <xsl:for-each> on "Section"
elements, I get the following exception:

XSL Error: SAX Exception

org.apache.xalan.xslt.XSLProcessorException: Can't have more than one root
on a DOM!

	at org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)

	at org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1594)

	at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:655)

	at
org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.ja
va:100)

	at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:11
2)

	at org.apache.cocoon.Engine.handle(Engine.java:299)

	at org.apache.cocoon.EngineWrapper.handle(EngineWrapper.java:85)

	at asb.util.CocoonTest.processUsingCocoon(CocoonTest.java:67)

	at asb.util.CocoonTest.main(CocoonTest.java:80)

However, if I use the IBM XSL Editor, it runs through as I expect.  Also, if
I run it through the XALAN XSLTProcessor it works as expected.  There are
multiple <Section> elements which have the same name, but it shouldn't cause
a problem I don't think.

I tried plugging the XALAN XSLTProcessor into Cocoon by modifying
cocoon.properties but Cocoon complained that it couldn't instantiate it. Has
anybody else successfully used this processor with Cocoon?

I am transforming to a legacy file format (flat CSV text file).

This is some of the XSL I am using ( I have marked the line which causes the
problem with a comment above marked with # characters):

<?xml version="1.0"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">

	<xsl:template match="/Risks">

		<xsl:processing-instruction
name="cocoon-format">type="text/plain"</xsl:processing-instruction>

		<!-- due to a DOM limitation, you must wrap your generated text
		     with a fake tag, here uses <test>, that is stripped out by the
		     formatter -->

				 <xsl:param name="schema-version" select="4.0"/>

                                        <xsl:variable name="productvalue"
select="/Risks/Risk/RiskPeriod/Policy/Product/@label"/>   <!-- the child
"Product" of the context node with the attribute "label" -->

					<!--xsl:for-each select="/Risks/Risk/limit"-->
					<xsl:for-each select="Risk/RiskPeriod/Policy">

                                        <!--xsl:apply-templates
select="//Sections"/-->

				<xsl:call-template name="writeSections">
					<xsl:with-param name="productvalue"><xsl:value-of select =
"string($productvalue)"/></xsl:with-param>
				</xsl:call-template>

				        </xsl:for-each>

	</xsl:template>

	<xsl:template name="writeSections">

		<xsl:param name="productvalue"/>

                                <!-- *** NOTE: ALL TEXT CONTENT MUST BE
DEFINED WITHIN THE <dummytexttag> ** -->

<!-- ######### IF I REMOVE THE FOLLOWING LINE IT DOESN'T THROW THE EXCEPTION
##-->
<xsl:for-each select="Sections/Section">
							<dummytexttag>

							<!--INSURANCE PRODUCT (A6)-->

							<!--xsl:variable name="productvalue" select="/"/-->   <!-- the child
"Product" of the context node with the attribute "label" -->

							<!-- A simple way to define a constant -->
							<xsl:variable name="SIFID" select="'Solicitors In-Fill'"/>
	                                                <xsl:variable name="test"
select="@type"/>

							        <xsl:call-template name="Pad">
							        	<xsl:with-param name="txt"><xsl:value-of
select="$test"/></xsl:with-param>
							        	<xsl:with-param name="padlength" select="number(6)"/>
							        </xsl:call-template>

							<xsl:choose>
						        <xsl:when test="$productvalue=$SIFID">
							        <xsl:call-template name="Pad">
							        	<xsl:with-param name="txt">SIFG</xsl:with-param>
							        	<xsl:with-param name="padlength" select="number(6)"/>
							        </xsl:call-template>
						        </xsl:when>
						        <xsl:otherwise>
							        <xsl:call-template name="Pad">
							        	<xsl:with-param name="txt">DOCH!</xsl:with-param>
							        	<xsl:with-param name="padlength" select="number(6)"/>
							        </xsl:call-template>
						        </xsl:otherwise>
						    </xsl:choose>
							</dummytexttag>

</xsl:for-each>


	</xsl:template>


and this is the XML source I am given (I know the format isn't great):

<?xml version="1.0"?>
<?xml-stylesheet href="policytransform.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>

<!-- ASB, 26/07/2000 -->

<Risks>
	<Risk key="{type=Risk}{riskId=5}" label="" state="Active">

		<test value="6">6</test>

		<limit value="100">201</limit>

		<RiskPeriod key="{type=RiskPeriod}{riskId=5}{periodNumber=1}" label=""
periodfrom="Wed Jul 05 00:00:00 GMT 2000" periodto="Wed Jul 05 00:00:00 GMT
2000" underwritingyear="2000" state="Current">
		<Policy
key="{type=RiskVersion}{riskId=5}{periodNumber=1}{versionSequence=2}"
sortorder="50102">
	<Product key="{type=Product}{productId=SIF}{versionSequence=1}"
label="Solicitors In-Fill" effectivefrom="Mon Jul 03 08:25:27 GMT 2000"
effectiveto="Sun Aug 17 07:12:55 GMT 292278994">ASB
		</Product><Properties><StringProperty
key="NameInsured">lk</StringProperty><IntegerProperty
key="Partners">4</IntegerProperty><DateProperty key="ClaimSheetDate">Wed May
10 00:00:00 GMT 2000</DateProperty><BooleanProperty
key="SuccessorPredecessorIndicator">YES</BooleanProperty><StringProperty
key="_productId">SIF</StringProperty><IntegerProperty
key="_productVersion">1</IntegerProperty><TextMessageProperty
key="_state">Active</TextMessageProperty><StringProperty
key="BusinessAddressCounty">l;kj</StringProperty><DateProperty
key="ExpiryDate">Wed Jul 04 00:00:00 GMT 2001</DateProperty><IntegerProperty
key="Staff">100</IntegerProperty><IntegerProperty
key="GrossFees">10000</IntegerProperty><IntegerProperty
key="OutsidePositions">0</IntegerProperty><StringProperty
key="BusinessAddressLine3">l;jk</StringProperty><DateProperty
key="_effectiveTo">Wed Jul 04 00:00:00 GMT
2001</DateProperty><StringProperty
key="BusinessAddressLine2">lj</StringProperty><StringProperty
key="BusinessAddressLine1">j;</StringProperty><StringProperty
key="BusinessAddressCity">;lj</StringProperty><StringProperty
key="_className">uk.co.enterpriseis.risk.Policy</StringProperty><StringPrope
rty key="_versionReference">BR1-P-SIF-00005</StringProperty><StringProperty
key="_brokerName">Broker1a</StringProperty><TextMessageProperty
key="_title">asdfasd</TextMessageProperty><StringProperty
key="_brokerage">Brokerage 1</StringProperty><StringProperty
key="Postcode">SG5 6TL</StringProperty><DateProperty
key="_effectiveFrom">Wed Jul 05 00:00:00 GMT
2000</DateProperty><TextMessageProperty key="_productName">Solicitors
In-Fill</TextMessageProperty><StringProperty
key="_versionNumber">1</StringProperty><DateProperty key="InceptionDate">Wed
Jul 05 00:00:00 GMT 2000</DateProperty></Properties><Sections><Section
key="{type=Section}{riskId=5}{periodNumber=1}{versionSequence=2}{sectionNumb
er=1}" type="InFill"><Properties><IntegerProperty
key="NoOfDeductibles">3</IntegerProperty><IntegerProperty
key="Deductible">10000</IntegerProperty><PickListProperty
key="PolicyType">Section E: 1, 2, 3, 4 Not
Covered</PickListProperty><TextMessageProperty
key="_state">Active</TextMessageProperty><IntegerProperty
key="AggregateDeductible">30000</IntegerProperty></Properties><referralreaso
ns></referralreasons><sections></sections></Section><Section
key="{type=Section}{riskId=5}{periodNumber=1}{versionSequence=2}{sectionNumb
er=4}" type="ClaimDetails"><Properties><PropertyGroup
key="ClaimsGroup"><Properties><PropertyGroup
key="ClaimsGroupRow[4]"><Properties><IntegerProperty
key="Excess[0]">5</IntegerProperty><IntegerProperty
key="Reserve[0]">75</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">86</DecimalProperty><IntegerProperty
key="Paid[0]">6</IntegerProperty></Properties></PropertyGroup><PropertyGroup
key="ClaimsGroupRow[7]"><Properties><IntegerProperty
key="Excess[0]">87</IntegerProperty><IntegerProperty
key="Reserve[0]">68</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">231</DecimalProperty><IntegerProperty
key="Paid[0]">76</IntegerProperty></Properties></PropertyGroup><PropertyGrou
p key="ClaimsGroupRow[0]"><Properties><IntegerProperty
key="Excess[0]">200</IntegerProperty><IntegerProperty
key="Reserve[0]">3001</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">3301</DecimalProperty><IntegerProperty
key="Paid[0]">100</IntegerProperty></Properties></PropertyGroup><PropertyGro
up key="ClaimsGroupRow[3]"><Properties><IntegerProperty
key="Excess[0]">7</IntegerProperty><IntegerProperty
key="Reserve[0]">678</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">1483</DecimalProperty><IntegerProperty
key="Paid[0]">798</IntegerProperty></Properties></PropertyGroup><PropertyGro
up key="ClaimsGroupRow[6]"><Properties><IntegerProperty
key="Excess[0]">78</IntegerProperty><IntegerProperty
key="Reserve[0]">68</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">1022</DecimalProperty><IntegerProperty
key="Paid[0]">876</IntegerProperty></Properties></PropertyGroup><PropertyGro
up key="ClaimsGroupRow[9]"><Properties><IntegerProperty
key="Excess[0]">6</IntegerProperty><IntegerProperty
key="Reserve[0]">876</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">969</DecimalProperty><IntegerProperty
key="Paid[0]">87</IntegerProperty></Properties></PropertyGroup><PropertyGrou
p key="ClaimsGroupRow[2]"><Properties><IntegerProperty
key="Excess[0]">987</IntegerProperty><IntegerProperty
key="Reserve[0]">98</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">2072</DecimalProperty><IntegerProperty
key="Paid[0]">987</IntegerProperty></Properties></PropertyGroup><PropertyGro
up key="ClaimsGroupRow[5]"><Properties><IntegerProperty
key="Excess[0]">687</IntegerProperty><IntegerProperty
key="Reserve[0]">6</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">780</DecimalProperty><IntegerProperty
key="Paid[0]">87</IntegerProperty></Properties></PropertyGroup><PropertyGrou
p key="ClaimsGroupRow[8]"><Properties><IntegerProperty
key="Excess[0]">6</IntegerProperty><IntegerProperty
key="Reserve[0]">786</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">799</DecimalProperty><IntegerProperty
key="Paid[0]">7</IntegerProperty></Properties></PropertyGroup><PropertyGroup
key="ClaimsGroupRow[1]"><Properties><IntegerProperty
key="Excess[0]">979</IntegerProperty><IntegerProperty
key="Reserve[0]">87</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">4053</DecimalProperty><IntegerProperty
key="Paid[0]">2987</IntegerProperty></Properties></PropertyGroup></Propertie
s></PropertyGroup><TextMessageProperty
key="_state">Active</TextMessageProperty><PickListProperty
key="YearOfAccount">1994/1995</PickListProperty></Properties><referralreason
s></referralreasons><sections></sections></Section><Section
key="{type=Section}{riskId=5}{periodNumber=1}{versionSequence=2}{sectionNumb
er=3}" type="ClaimDetails"><Properties><PropertyGroup
key="ClaimsGroup"><Properties><PropertyGroup
key="ClaimsGroupRow[4]"><Properties><IntegerProperty
key="Excess[0]">1400</IntegerProperty><IntegerProperty
key="Reserve[0]">1500</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">4200</DecimalProperty><IntegerProperty
key="Paid[0]">1300</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[7]"><Properties><IntegerProperty
key="Excess[0]">2300</IntegerProperty><IntegerProperty
key="Reserve[0]">2400</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">6900</DecimalProperty><IntegerProperty
key="Paid[0]">2200</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[0]"><Properties><IntegerProperty
key="Excess[0]">200</IntegerProperty><IntegerProperty
key="Reserve[0]">300</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">600</DecimalProperty><IntegerProperty
key="Paid[0]">100</IntegerProperty></Properties></PropertyGroup><PropertyGro
up key="ClaimsGroupRow[3]"><Properties><IntegerProperty
key="Excess[0]">1100</IntegerProperty><IntegerProperty
key="Reserve[0]">1200</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">3300</DecimalProperty><IntegerProperty
key="Paid[0]">1000</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[6]"><Properties><IntegerProperty
key="Excess[0]">2000</IntegerProperty><IntegerProperty
key="Reserve[0]">2100</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">6000</DecimalProperty><IntegerProperty
key="Paid[0]">1900</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[9]"><Properties><IntegerProperty
key="Excess[0]">2900</IntegerProperty><IntegerProperty
key="Reserve[0]">3000</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">8700</DecimalProperty><IntegerProperty
key="Paid[0]">2800</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[2]"><Properties><IntegerProperty
key="Excess[0]">800</IntegerProperty><IntegerProperty
key="Reserve[0]">900</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">2400</DecimalProperty><IntegerProperty
key="Paid[0]">700</IntegerProperty></Properties></PropertyGroup><PropertyGro
up key="ClaimsGroupRow[5]"><Properties><IntegerProperty
key="Excess[0]">1700</IntegerProperty><IntegerProperty
key="Reserve[0]">1800</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">5100</DecimalProperty><IntegerProperty
key="Paid[0]">1600</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[8]"><Properties><IntegerProperty
key="Excess[0]">2600</IntegerProperty><IntegerProperty
key="Reserve[0]">2700</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">7800</DecimalProperty><IntegerProperty
key="Paid[0]">2500</IntegerProperty></Properties></PropertyGroup><PropertyGr
oup key="ClaimsGroupRow[1]"><Properties><IntegerProperty
key="Excess[0]">500</IntegerProperty><IntegerProperty
key="Reserve[0]">600</IntegerProperty><DecimalProperty
key="ClaimTotal[0]">1500</DecimalProperty><IntegerProperty
key="Paid[0]">400</IntegerProperty></Properties></PropertyGroup></Properties
></PropertyGroup><TextMessageProperty
key="_state">Active</TextMessageProperty><PickListProperty
key="YearOfAccount">1993/1994</PickListProperty></Properties><referralreason
s></referralreasons><sections></sections></Section><Section
key="{type=Section}{riskId=5}{periodNumber=1}{versionSequence=2}{sectionNumb
er=2}" type="TopUp"><Properties><PropertyGroup
key="TypeOfWorkGroup"><Properties><PercentageProperty
key="Other[0]">40</PercentageProperty><PercentageProperty
key="Insurance[0]">5</PercentageProperty><PercentageProperty
key="CommercialConveyancing[0]">5</PercentageProperty><PercentageProperty
key="CriminalLit[0]">5</PercentageProperty><PercentageProperty
key="MarineLit[0]">5</PercentageProperty><PercentageProperty
key="OtherLit[0]">5</PercentageProperty><PercentageProperty
key="Corporate[0]">5</PercentageProperty><PercentageProperty
key="TrustsProbates[0]">5</PercentageProperty><PercentageProperty
key="TakeoverMerger[0]">5</PercentageProperty><PercentageProperty
key="PersonalInjury[0]">5</PercentageProperty><PercentageProperty
key="DomesticConveyancing[0]">5</PercentageProperty><DecimalProperty
key="Total[0]">100</DecimalProperty><PercentageProperty
key="MatrimonialFamily[0]">5</PercentageProperty><PercentageProperty
key="BanksFI[0]">5</PercentageProperty></Properties></PropertyGroup><Percent
ageProperty key="USBusiness">0</PercentageProperty><TextMessageProperty
key="_state">Active</TextMessageProperty><IntegerProperty
key="ClaimsXS500K">0</IntegerProperty><PropertyGroup
key="IndemnityGroup"><Properties><PropertyGroup
key="IndemnityGroupRow[0]"><Properties><PickListProperty
key="Excess[0]">1000000</PickListProperty><PickListProperty
key="LimitOfIndemnity[0]">1000000</PickListProperty><DecimalProperty
key="TotalCover[0]">2000000</DecimalProperty></Properties></PropertyGroup><P
ropertyGroup key="IndemnityGroupRow[2]"><Properties><PickListProperty
key="Excess[0]">2000000</PickListProperty><PickListProperty
key="LimitOfIndemnity[0]">2000000</PickListProperty><DecimalProperty
key="TotalCover[0]">4000000</DecimalProperty></Properties></PropertyGroup><P
ropertyGroup key="IndemnityGroupRow[1]"><Properties><PickListProperty
key="Excess[0]">1000000</PickListProperty><PickListProperty
key="LimitOfIndemnity[0]">2000000</PickListProperty><DecimalProperty
key="TotalCover[0]">3000000</DecimalProperty></Properties></PropertyGroup></
Properties></PropertyGroup></Properties><referralreasons></referralreasons><
sections></sections></Section></Sections><Clauses></Clauses><Requests></Requ
ests><PremiumQuotation
key="{type=PremiumQuotation}{riskId=5}{periodNumber=1}{versionSequence=2}"><
Properties><TextMessageProperty
key="_state">Active</TextMessageProperty><TextMessageProperty
key="_title">Premium
Details</TextMessageProperty></Properties><premiumquotationitems><PremiumIte
m
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=BrokeragePremE[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">0.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremI[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">9.76</DecimalProperty><DecimalProperty
key="AdjPremiumAmount[0]"></DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=TypeOfWorkPrem[0]}"><Properties><DecimalProperty
key="InsurancePremium[0]">0.68</DecimalProperty><DecimalProperty
key="TrustsProbatesPremium[0]">0.80</DecimalProperty><DecimalProperty
key="CriminalLitPremium[0]">0.82</DecimalProperty><DecimalProperty
key="OtherLitPremium[0]">0.84</DecimalProperty><DecimalProperty
key="CommercialConveyancingPremium[0]">1.00</DecimalProperty><DecimalPropert
y key="PersonalInjuryPremium[0]">0.56</DecimalProperty><DecimalProperty
key="MatrimonialFamilyPremium[0]">0.72</DecimalProperty><DecimalProperty
key="MarineLitPremium[0]">0.82</DecimalProperty><DecimalProperty
key="DomesticConveyancingPremium[0]">0.56</DecimalProperty><DecimalProperty
key="BanksFIPremium[0]">0.96</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty><DecimalProperty
key="TakeOverMergerPremium[0]">0.96</DecimalProperty><DecimalProperty
key="OtherPremium[0]">6.40</DecimalProperty><DecimalProperty
key="TypeOfWorkPremium[0]">16.00</DecimalProperty><DecimalProperty
key="CorporatePremium[0]">0.88</DecimalProperty></Properties></PremiumItem><
RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=ExcessE[0]}"><Properties><DecimalProperty
key="ExcessAmount[0]">0</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremPlusCommI[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">10.74</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=WorkBreakdown[0]}"><Properties><PercentageProperty
key="Other[0]">40.0000000</PercentageProperty><PercentageProperty
key="CorporateWeighting[0]">10.0000000</PercentageProperty><PercentageProper
ty
key="TakeoverMergerWeighting[0]">20.0000000</PercentageProperty><PercentageP
roperty
key="CommercialConveyancing[0]">5.0000000</PercentageProperty><PercentagePro
perty key="Insurance[0]">5.0000000</PercentageProperty><PercentageProperty
key="TrustsProbatesWeighting[0]">0.0000000</PercentageProperty><PercentagePr
operty
key="CriminalLit[0]">5.0000000</PercentageProperty><PercentageProperty
key="MarineLit[0]">5.0000000</PercentageProperty><PercentageProperty
key="PersonalInjuryWeighting[0]">-30.0000000</PercentageProperty><Percentage
Property
key="TrustsProbates[0]">5.0000000</PercentageProperty><PercentageProperty
key="Corporate[0]">5.0000000</PercentageProperty><PercentageProperty
key="OtherLit[0]">5.0000000</PercentageProperty><PercentageProperty
key="MarineLitWeighting[0]">2.5000000</PercentageProperty><PercentagePropert
y
key="CommercialConveyancingWeighting[0]">25.0000000</PercentageProperty><Per
centageProperty
key="TakeoverMerger[0]">5.0000000</PercentageProperty><PercentageProperty
key="PersonalInjury[0]">5.0000000</PercentageProperty><PercentageProperty
key="OtherWeighting[0]">0.0000000</PercentageProperty><PercentageProperty
key="DomesticConveyancing[0]">5.0000000</PercentageProperty><PercentagePrope
rty
key="InsuranceWeighting[0]">-15.0000000</PercentageProperty><PercentagePrope
rty
key="DomesticConveyancingWeighting[0]">-30.0000000</PercentageProperty><Bool
eanProperty key="_referral">NO</BooleanProperty><PercentageProperty
key="MatrimonialFamily[0]">5.0000000</PercentageProperty><PercentageProperty
key="BanksFI[0]">5.0000000</PercentageProperty><PercentageProperty
key="OtherLitWeighting[0]">5.0000000</PercentageProperty><PercentageProperty
key="MatrimonialFamilyWeighting[0]">-10.0000000</PercentageProperty><Percent
ageProperty
key="CriminalLitWeighting[0]">2.5000000</PercentageProperty><PercentagePrope
rty
key="BanksFIWeighting[0]">20.0000000</PercentageProperty></Properties></Rati
ngItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=TotalPremI[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">13.43</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremE[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">0.00</DecimalProperty><DecimalProperty
key="AdjPremiumAmount[0]"></DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremPlusCommE[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">0.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=TotalPremE[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">0.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><TaxItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=IPT[8]}"><Properties><PercentageProperty
key="TaxRate[0]">5.0000000</PercentageProperty><DecimalProperty
key="TaxAmount[0]"></DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></TaxItem><TaxItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=IPT[6]}"><Properties><PercentageProperty
key="TaxRate[0]">5.0000000</PercentageProperty><DecimalProperty
key="TaxAmount[0]">0.57</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></TaxItem><TaxItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=IPT[4]}"><Properties><PercentageProperty
key="TaxRate[0]">5.0000000</PercentageProperty><DecimalProperty
key="TaxAmount[0]">0.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></TaxItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=FusionComm[0]}"><Properties><PercentageProperty
key="AdjOBC[0]">0.0000000</PercentageProperty><PercentageProperty
key="AdjEPLI[0]">0.0000000</PercentageProperty><PercentageProperty
key="OBC[0]">0.0000000</PercentageProperty><PercentageProperty
key="EPLI[0]">0.0000000</PercentageProperty><PercentageProperty
key="InFill[0]">10.0000000</PercentageProperty><PercentageProperty
key="AdjTopUp[0]"></PercentageProperty><BooleanProperty
key="_referral">NO</BooleanProperty><PercentageProperty
key="AdjInFill[0]"></PercentageProperty><PercentageProperty
key="TopUp[0]">10.0000000</PercentageProperty></Properties></RatingItem><Rat
ingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=LimitG[0]}"><Properties><DecimalProperty
key="Rate[0]">1.5200</DecimalProperty><DecimalProperty
key="LimitAmount[0]">1000000</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=Claims500KPrem[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">16.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=TopUpBasePrem[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">16.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=USABusPrem[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">16.00</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=ClaimsFigures[0]}"><Properties><DecimalProperty
key="Rate6[0]">0.09939000</DecimalProperty><DecimalProperty
key="Rate7[0]">0.22100000</DecimalProperty><DecimalProperty
key="Rate8[0]">0.13300000</DecimalProperty><DecimalProperty
key="Rate5a[0]">0.36000000</DecimalProperty><DecimalProperty
key="Rate5b[0]">0.30600000</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty><DecimalProperty
key="Claims1[0]">2.0</DecimalProperty><DecimalProperty
key="Claims2[0]">2.4</DecimalProperty><DecimalProperty
key="Rate2[0]">0.68000000</DecimalProperty><DecimalProperty
key="Claims4[0]">0.5</DecimalProperty><DecimalProperty
key="Rate3[0]">0.32000000</DecimalProperty><DecimalProperty
key="Rate4[0]">0.75000000</DecimalProperty></Properties></RatingItem><Premiu
mItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=BrokeragePremG[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">11.44</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=LimitH[0]}"><Properties><DecimalProperty
key="Rate[0]">1.8500</DecimalProperty><DecimalProperty
key="LimitAmount[0]">2000000</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=ExcessG[0]}"><Properties><DecimalProperty
key="ExcessAmount[0]">1000000</DecimalProperty><DecimalProperty
key="Rate[0]">1.0000</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremG[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">8.32</DecimalProperty><DecimalProperty
key="AdjPremiumAmount[0]"></DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremPlusCommG[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">9.15</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=TotalPremG[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">11.44</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><BrokerageIte
m
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=Brokerage[0]}"><Properties><PercentageProperty
key="AdjOBC[0]">0.0000000</PercentageProperty><PercentageProperty
key="AdjEPLI[0]">0.0000000</PercentageProperty><PercentageProperty
key="OBC[0]">0.0000000</PercentageProperty><StringProperty
key="BkrName[0]"></StringProperty><PercentageProperty
key="EPLI[0]">0.0000000</PercentageProperty><PercentageProperty
key="InFill[0]">20.0000000</PercentageProperty><PercentageProperty
key="AdjTopUp[0]"></PercentageProperty><BooleanProperty
key="_referral">NO</BooleanProperty><PercentageProperty
key="AdjInFill[0]"></PercentageProperty><PercentageProperty
key="TopUp[0]">20.0000000</PercentageProperty></Properties></BrokerageItem><
TaxItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=IPT[7]}"><Properties><PercentageProperty
key="TaxRate[0]">5.0000000</PercentageProperty><DecimalProperty
key="TaxAmount[0]">0.67</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></TaxItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=BrokeragePremH[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">18.70</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=LimitI[0]}"><Properties><DecimalProperty
key="Rate[0]">2.1300</DecimalProperty><DecimalProperty
key="LimitAmount[0]">2000000</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=ExcessH[0]}"><Properties><DecimalProperty
key="ExcessAmount[0]">1000000</DecimalProperty><DecimalProperty
key="Rate[0]">1.0000</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremH[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">13.60</DecimalProperty><DecimalProperty
key="AdjPremiumAmount[0]"></DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=LimitE[0]}"><Properties><DecimalProperty
key="LimitAmount[0]">0</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=NetPremPlusCommH[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">14.96</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=TotalPremH[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">18.70</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><PremiumItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=BrokeragePremI[0]}"><Properties><DecimalProperty
key="PremiumAmount[0]">13.43</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></PremiumItem><RatingItem
key="{type=PremiumQuotationItem}{riskId=5}{periodNumber=1}{versionSequence=2
}{itemKey=ExcessI[0]}"><Properties><DecimalProperty
key="ExcessAmount[0]">2000000</DecimalProperty><DecimalProperty
key="Rate[0]">1.5200</DecimalProperty><BooleanProperty
key="_referral">NO</BooleanProperty></Properties></RatingItem></premiumquota
tionitems></PremiumQuotation></Policy></RiskPeriod>
	</Risk>
</Risks>


Mime
View raw message