note: the <LF>s are edited in, they are obviously linefeeds
How can I access the line starting with SPECIAL ... without getting automatically the white spaces above and below ?
I Tryed :
- InputRoot.XML.NOTOCMessage.MessageText
but this includes whitspace
- InputRoot.XML.NOTOCMessage.MessageText.(XML.Content)
but this _only_ includes the first whitspace line.
As XML.Content is (0x2000000) while the line I want is declared to be (0x2000001), I actually expected this last result.
But then I cannot find (0x2000001) in the XML parser constants table.
DECLARE ref REFERENCE TO InputRoot.XML.NOTOCMessage.MessageText;
MOVE ref FIRSTCHILD TYPE 0x2000001
I haven´t try the code. But it should work. In ref you get what you want. Type TYPE option is availabe for WMQI 2.1 CSD2 or later. _________________ Lillo
IBM Certified Specialist - WebSphere MQ
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum