axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimmy Zhang" <>
Subject Re: Cloning a portion of a XML tree using axiom
Date Tue, 05 Feb 2008 09:00:24 GMT
I think in VTD-XML you can use getElementFragment() or getElementFragmentNS() to directly extract
the byte arrays corresponding to the XML tree...
which is a lot more efficient than tree parsing

  ----- Original Message ----- 
  From: Kasun Indrasiri 
  To: Apache AXIS C Developers List 
  Sent: Monday, February 04, 2008 8:09 PM
  Subject: Cloning a portion of a XML tree using axiom

  I want to get a copy of a portion of a XML tree using Axiom. Actually what I have is an
axiom node which contains:

  <sp:IssuedToken sp:IncludeToken="xs:anyURI" ... >
     <sp:RequestSecurityTokenTemplate TrustVersion="xs:anyURI" > 
      <sp:RequireDerivedKeys ... />
      <sp:RequireExternalReference ... />
      <sp:RequireInternalReference ... />

  Simply, I want to extract a copy of the content of 'RequestSecurityTokenTemplate'. Can we
do this by using axiom.



View raw message