I am trying to convert the undermentioned XML into the the flwg
format:
Code:
XML Code:
<?xml version="1.0" encoding="UTF-8"?>
<FIXML xmlns="http://www.fixprotocol.org/FIXML-4-4">
<Order Acct="1" MinQty="10" Px="480.25" SettlDt="2009-12-01" StopPx="480.25" ><Hdr SID="DUMMULSEHUB" SeqNum="2" Snt="2007-04-05T13:34:47" TID="HSBC"/><PreAll Acct="2" Qty="1000"/><TrdSes SesID="0"/><Instrmt CpnRt="5.1" EncIssrLen="2" ID="3134865" Sfx="P" Src="2" /><OrdQty Cash="1" Qty="500"/></Order></FIXML>
INTO THE Format:
----------------
<i:Acct>1</i:Acct>
<i:MinQty>10</i:MinQty>
<i:StopPx>480.25</i:StopPx>
I am using the undermentioned,but the value doesnt appear
Code:
<xsl:template match="/">
<1:Acct>
<xsl:value-of select="Order/@Acct"/>
</i:Acct>
</xsl:template>
</xsl:stylesheet>
Can someone please tell me the correct way if possible.
Help appreciated very much.