Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <core>
- <address>
- <postalZipCode>90017</postalZipCode>
- <updateSource>xxxxxx</updateSource>
- <city>LOS ANGELES</city>
- <stateProvince>CA</stateProvince>
- <type>MAILING</type>
- <line1>818 WEST SEVENTH STREET</line1>
- </address>
- <address>
- <postalZipCode>95014</postalZipCode>
- <updateSource>xxxxxx</updateSource>
- <city>CUPERTINO</city>
- <stateProvince>CA</stateProvince>
- <type>PRIMARY</type>
- <line1>1234 XYZ STREET</line1>
- </address>
- <memberId>0</memberId>
- </core>
- <xsl:template match="core">
- <xsl:if test="memberId['0'] and address/type['MAILING']">
- <fo:table-row>
- <fo:table-cell><fo:block /></fo:table-cell>
- <fo:table-cell xsl:use-attribute-sets="data">
- <fo:block>Line 1</fo:block>
- </fo:table-cell>
- <fo:table-cell xsl:use-attribute-sets="data">
- <fo:block><xsl:value-of select="address/line1/text()"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement