B
Bryan Galvin
Hi all,
Is it possible to 'cherry-pick' child nodes but retain their
parentage. Given an example...
<user>
<first_name>George</first_name>
<sur_name>George</sur_name>
<dob>George</dob>
<title>Line Manager</title>
</user>
I would like to obtain a node-set that gives me...
<user>
<first_name>George</first_name>
<sur_name>George</sur_name>
</user>
I am trying to achieve this is a single XPATH expression, creating a
variable to hold my new smaller node-set. I am trying to make my
stylesheets less memory intensive by only focusing on those elements I
am interested. Effectively working with smaller records.
Any assistance is very appreciated,
Bryan Galvin
Is it possible to 'cherry-pick' child nodes but retain their
parentage. Given an example...
<user>
<first_name>George</first_name>
<sur_name>George</sur_name>
<dob>George</dob>
<title>Line Manager</title>
</user>
I would like to obtain a node-set that gives me...
<user>
<first_name>George</first_name>
<sur_name>George</sur_name>
</user>
I am trying to achieve this is a single XPATH expression, creating a
variable to hold my new smaller node-set. I am trying to make my
stylesheets less memory intensive by only focusing on those elements I
am interested. Effectively working with smaller records.
Any assistance is very appreciated,
Bryan Galvin