|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
removing empty elements
How can I use a xsl file to remove empty elements except if it is a mycol element?
Ex.: Code:
<mytable> <myrow> <mycol><para align="right">Just for testing<para></para></para></mycol> <mycol>anything <b></b>else</mycol> </myrow> <myrow> <mycol></mycol> <mycol></mycol> </myrow> </mytable> In the example above I need to remove the <para></para> and the <b></b> empty elements and keep only the <mycol></mycol> elements. Any idea? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > removing empty elements |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|