Go Back
  • XML Transforms (removing empty nodes)

    While dealing with some of the web services data from Digital Measures, I realized that in some cases certain nodes were included, but empty vs. simply not there. This became problematic as I was trying to alter the formatting on my output depending on what data was included in the record.

    I wanted to wrap a publication year in parenthesis i.e. (2010), but not have () sitting there empty, if for some reason no ...