Re: dropping in XML

2006-08-31 Thread Jean-Luc Cooke
I'm getting good an answering my own questions. ObjectContainer receipt = new ObjectContainer(doc); receipt.setId("Receipt"); Element pmrele = doc.createElementNS("http://www.upu.int/EPMService/schemas";, "epm:PostMarkedReciept"); pmrele.setAttributeNS(Consta

Re: dropping in XML

2006-08-31 Thread Jimmy Zhang
you might be interested in using VTD-XML for this http://www.javaworld.com/javaworld/jw-07-2006/jw-0724-vtdxml.html http://vtd-xml.sf.net - Original Message - From: "Jean-Luc Cooke" <[EMAIL PROTECTED]> To: Sent: Thursday, August 31, 2006 12:13 PM Subject: dropping in

dropping in XML

2006-08-31 Thread Jean-Luc Cooke
Greetings, Wanted how to do this (if it's possible with apache xmlsec, or even allowed by the standard). I want to insert "rec.xml" into "doc.xml" as you see attached here and sign the whole thing. Trying to fight with appendChild() and DocumentBuilder.parse() keeps getting me exceptions saying