[xsde-users] Extract remaining subtree

Markus Kohler MarkusK at microsol.ie
Fri Jul 31 11:48:09 EDT 2009


Hello there, 

given a XML file and using the embedded parser xsde can I retrieve a certain 
part of the XML tree as string. Example:

<somexml>
	<somelement>
	         <subtree>
	               <I>
                            <want/>
			   <this/>
                           <subtree-as-string/>
                     </I>
                  </subtree>
         </someelement>
</somexml>

The xsde parser generates some class 

class someelement_pimpl ... {

...
  pre() {...}
  post_someelement() {...}
  subtree() {...}
...
} 

Is there a possibility in pre() or post_someelement() or anywhere else to 
retrieve the XML string starting with <subtree> until </subtree> maybe through 
the context?
Thanks in advance for any help!
Markus

Markus Kohler
SW Engineer
Microsol Dublin 



More information about the xsde-users mailing list