P
prem
Hi Gurus,
Below is the XML input file,can i use evaluate function for the xpath
to confirm if david exists in this xml file. The function output can
be a boolean .if so how?
<?xml version="1.0" encoding="UTF-8"?>
<perl>
<Component name="Manager">
<employee name="David">
<properties year="1996">
<property Designation>APM</property>
<property salary>64693</property>
</properties>
</employee>
<employee name="John">
<properties year="1996">
<property Designation>APM1</property>
<property salary>64693</property>
</properties>
</employee>
<employee name="Rose">
<properties year="1996">
<property Designation>PM</property>
<property salary>64693</property>
</properties>
</employee>
</Component>
</perl>
--Thanks in advance
prem
Below is the XML input file,can i use evaluate function for the xpath
to confirm if david exists in this xml file. The function output can
be a boolean .if so how?
<?xml version="1.0" encoding="UTF-8"?>
<perl>
<Component name="Manager">
<employee name="David">
<properties year="1996">
<property Designation>APM</property>
<property salary>64693</property>
</properties>
</employee>
<employee name="John">
<properties year="1996">
<property Designation>APM1</property>
<property salary>64693</property>
</properties>
</employee>
<employee name="Rose">
<properties year="1996">
<property Designation>PM</property>
<property salary>64693</property>
</properties>
</employee>
</Component>
</perl>
--Thanks in advance
prem