I have change the source file:
<?xml version="1.0" encoding="UTF-8"?>
<RootNode>
<Name>
BOB
<ContactDetails>
<Address>
<Line1>1 High Street</Line1>
<Town>TownName</Town>
<Postcode>AB1 1CD</Postcode>
</Address>
<Email>
[email protected]</Email>
</ContactDetails>
<AltContactDetails>
<Address>
<Line1>3 Market Square</Line1>
<Town>TownName</Town>
<Postcode>EF2 2GH</Postcode>
</Address>
<Email>
[email protected]</Email>
</AltContactDetails>
</Name>
</RootNode>
----
But I got the unexpected result...
--------------
<?xml version="1.0" encoding="UTF-8" ?>
<PersonsName xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xs="http://www.w3.org/2001/XMLSchema">BOB 1 High StreetTownNameAB1
[email protected]3 Market SquareTownNameEF2
[email protected]</PersonsName>
-----
I usually encounter with the same problem with match template like this..how can i get the result with the tag...
Need your help! Thanks
-----