metaperl has asked for the wisdom of the Perl Monks concerning the following question:
I would like to see body and heading elements stripped out and the xml with only content-laden elements in it.<note> <to> <person>Satan</person> </to> <from via="postcard" russia="with love">moneypenny</from> <heading></heading> <body></body> </note>
-- Terence Parr, "Enforcing Strict Model View Separation in Template Engines"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: prune xml of empty elements
by toolic (Bishop) on Jul 14, 2011 at 17:11 UTC | |
by Anonymous Monk on Jul 15, 2011 at 08:52 UTC | |
|
Re: prune xml of empty elements
by MidLifeXis (Monsignor) on Jul 14, 2011 at 17:48 UTC | |
by metaperl (Curate) on Jul 14, 2011 at 20:27 UTC | |
|
Re: prune xml of empty elements
by Logicus (Initiate) on Jul 14, 2011 at 20:58 UTC | |
by chromatic (Archbishop) on Jul 15, 2011 at 06:39 UTC | |
by happy.barney (Friar) on Jul 15, 2011 at 07:36 UTC | |
by jdporter (Paladin) on Jul 15, 2011 at 02:46 UTC |