How change the XPATH and XML output format in DataStage?
问题 I HAVE some problem in XPATH In XML Output I Want The Output Like <categories> <category NAME="A"> <redcord a="1"></redcord> <redcord a="2"></redcord> </category> <category NAME="B"> <redcord b="ASD"></redcord> <redcord b="QWE"></redcord> </category> </categories> I HAVE XPATH LIKE : /categories/category[@NAME="A"]/redcord/@a AND /categories/category[@NAME="B"]/redcord/@b The Output that i've been making is <categories> <category NAME="A"> <redcord a="1" b="ASD"></redcord> <redcord a="2" b=