Happens automagically when the external entry is expanded.
______________________________________ "You build world of steel and stone I build worlds of words alone Skilled tradespeople, long years taught: You shape matter; I shape thought." (http://www.songworm.com/lyrics/songworm-parody/ShapesofShadow.html) From: Thiwanka Somasiri <asthiwa...@gmail.com> To: j-users@xerces.apache.org Date: 08/15/2011 08:51 AM Subject: Stripping the Text Declaration from the external parsed entity Hi, I want to trim the text declaration from the replacement text of the external entity as described in the example below. The XML fragment with the text declaration : <?xml version="1.0" encoding="UTF-8"?> <a>1</a> <b>2</b> The replacement text should be <a>1</a> <b>2</b> How can I obtain this? Thanks. -- Regards A.S.Thiwanka Somasiri Skype : executionerwild MSN : thi...@ymail.com