Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL HELP!! XSL HELP!!To: NULL Date: 5/27/2008 7:58:00 PM
Hello,
I have a XMl as below:
*******************
<?xml version="1.0" ?>
<p1:Domains_and_Emails xmlns:p1="LDAP">
<Organization>ABCD</Organization>
<Radius Suspended="false" ID="1" Platform_Id="7"
ObjectClass="radiusprofile">
<Common_Name>OptiUser</Common_Name>
<radiusProfileDn>cn=dialup,ou=radiusprofiles,o=ABCD</radiusProfileDn>
</Radius>
<Domain Suspended="false" ID="2" Platform_Id="7">
<Organization_Unit>domains</Organization_Unit>
<domain_name>xyztel.com</domain_name>
<UnixEmail Suspended="false" ID="3" Platform_Id="7"
ObjectClass="radiusprofile,posixAccount,CourierMailAccount">
<uid>info</uid>
<Password>xyz</Password>
<EmailAccount>info@x...</EmailAccount>
</UnixEmail>
<UnixEmail Suspended="false" ID="4" Platform_Id="7"
ObjectClass="radiusprofile,posixAccount,CourierMailAccount">
<uid attributeId="1">jeff</uid>
<Password attributeId="4">xyz</Password>
<EmailAccount>jeff@x...</EmailAccount>
</UnixEmail>
<UnixEmail Suspended="false" ID="72" Platform_Id="7"
ObjectClass="radiusprofile,posixAccount,CourierMailAccount">
<uid attributeId="1">ff</uid>
<Password attributeId="4">xyz</Password>
<EmailAccount>ff@x...</EmailAccount>
</UnixEmail>
</Domain>
</p1:Domains_and_Emails>
*******************
Using a XSL template, how to get ONLY the node UnixEmail with attribute ID
value = 4 PLUS ALL OTHER NODES (such as <Organization>)
Thanks,
Ganesh
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
