Re: spark-xml - xml parsing when rows only have attributes

2016-06-17 Thread VG
Great.. thanks for pointing this out. On Fri, Jun 17, 2016 at 6:21 PM, Ted Yu wrote: > Please see https://github.com/databricks/spark-xml/issues/92 > > On Fri, Jun 17, 2016 at 5:19 AM, VG wrote: > >> I am using spark-xml for loading data and creating a data frame. >> >> If xml element has su

Re: spark-xml - xml parsing when rows only have attributes

2016-06-17 Thread Ted Yu
Please see https://github.com/databricks/spark-xml/issues/92 On Fri, Jun 17, 2016 at 5:19 AM, VG wrote: > I am using spark-xml for loading data and creating a data frame. > > If xml element has sub elements and values, then it works fine. Example > if the xml element is like > > > test >

spark-xml - xml parsing when rows only have attributes

2016-06-17 Thread VG
I am using spark-xml for loading data and creating a data frame. If xml element has sub elements and values, then it works fine. Example if the xml element is like test however if the xml element is bare with just attributes, then it does not work - Any suggestions. Does not load the d