Hi THere,

I need to strip empty/null elements from an in coming XML file in my Input
Transform Style Sheet. An example of incoming XML would be as follows:

<Entry>
<FORMTYPE>1</FORMTYPE>
<GIVENNAME>form</GIVENNAME>
<INITIALS />
<SN>test</SN>
<PERSONALTITLE />
<TITLE>job title</TITLE>
<STATUS />
<MYPREVIOUSSN />
<MYROLES>Administrator</MYROLES>
<MYSPECIALITY />
<MYORGP>1</MYORGP>
<SITELIST />
<MYSITECODE />
<GPLIST />
<MYPRACTICECODE />
<LABELEDURI />
<TELEPHONENUMBER>123345676</TELEPHONENUMBER>
<MOBILE />
<PAGER />
<FAX />
<MYALTMAIL />
<MAIL />
<MYLOCALKEY />
<UUID />
<MAIL2>test@test.com</MAIL2>
<STREET />
<CITY />
<MYIDCODE>SSA20</MYIDCODE>
<OU />
<ROOMNUMBER />
</Entry>


As you can see there are plenty of null elements which eventaully cause
problems in IDM. Is there some XSLT that I can use to strip all all of
these?

Cheers

Craig