Hi
I have simple xml .Here in XSL1.0 ,I want to get count of all speciality tag where attribute isSpecialist= false. Similarily count of all speciality tag with isspecialist attribute value as true.
I used this but this doesn't work
count(/test/SpecialtyInfo/Specialty/@isSpecialist['true'])
Thanks
Jalaj
I have simple xml .Here in XSL1.0 ,I want to get count of all speciality tag where attribute isSpecialist= false. Similarily count of all speciality tag with isspecialist attribute value as true.
I used this but this doesn't work
count(/test/SpecialtyInfo/Specialty/@isSpecialist['true'])
Code:
<?xml version="1.0" encoding="utf-8"?> <test lastActivityTime="9/24/2008 9:34:40 AM"> <SpecialtyInfo> <Specialty name="Outdoor" id="3" isSpecialist="false" ></Specialty> <Specialty name="Shopping" id="4" isSpecialist="false" ></Specialty> <Specialty name="Shopping" id="5 isSpecialist="true" ></Specialty> </SpecialtyInfo> </test>
Thanks
Jalaj
Comment