All Questions
656 questions
0
votes
0
answers
48
views
Apache Daffodil unable to open its XSD files inside a native linux executable produced with Quarkus
I'm currently having trouble trying to integrate Daffodil into a linux native executable produced with Quarkus.
The project is available here on github : https://github.com/isatoone/Quarkus-DFDL.
What ...
1
vote
2
answers
134
views
Converting xml data which is present in a dataframe column in to multiple columns using spark scala
I have df which contains 4 columns(colA, colB, colC & colD), In that colD alone contains string data which is present as xml data like below, I need to extract the tag's (AN, SOF, LEN, BN, COC, LA,...
1
vote
1
answer
95
views
Right configuration to convert a small and a large number from XML to Json using com.fasterxml.jackson.dataformat.xml.XmlMapper class
How can I configure the com.fasterxml.jackson.dataformat.xml.XmlMapper class so that given an xml like:
<Person>
<Age>33</Age>
<GrantID>815721008160186381772405</...
-1
votes
1
answer
435
views
XSD: Getting error while loading XSD file
val schemaParsed = XSDToSchema.read(Paths.get("/FileStore/tables/file.xsd"))
It is giving me an error FileNotFoundException: /FileStore/tables/file.xsd (No such file or directory)
But I ...
-3
votes
1
answer
174
views
unable to read and write xmal file on Databricks
<pre>
%python
spark.conf.set("fs.azure.account.key.XXXXXX.dfs.core.windows.net","XXXXXXXXXXXXX")
df = spark.read \
.format("com.databricks.spark.xml") \
.option("rootTag", "...
1
vote
0
answers
58
views
scala nested XML parsing with CDATA
I have an xml structure to be parsed as follows :
<?xml version="1.0" encoding="utf-8"?>
<System>
<header>
<identification serialNumber="100"/&...
1
vote
0
answers
36
views
EMC Recover Point Monitoring with scala and influxdb
I want to extract data from EMC Recovery Point with scala and influxdb and transfer it to influxdb. I was able to pull the data, but I had a problem transferring the data. The data does not appear in ...
0
votes
2
answers
49
views
Filtering elements from a complex XML document
I have this XML - the objective is to filter certain properties from the XML given some conditions:
so, get the SALARY of a player whose NAME is ALONSO and POSITION is a STRIKER
<PLAYERS>
<...
0
votes
1
answer
77
views
Remove leading and trailing whitespaces between XML tags
I use standard scala xml library. This is simplified ouput:
<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9&...
0
votes
0
answers
48
views
How to write Scala console output to a XML file?
I'm trying to convert json to xml, I am getting full output in console if the json file is small but I am trying to pass large json file n I'm not getting the entire output in the console
1
vote
0
answers
55
views
_VALUE column when reading XML
Given this rather funky XML structure:
<Report>
<Table>
<List>
<DTL a="abc"
b="xyz"
.../>
<DTL a="bcd"
...
2
votes
1
answer
110
views
Spark Dataframe with CLIXML
I am reading a csv file from ADLSGEN2 using databricks read API.
The csv file contains only one column which contains Power
Shell(clixml) content.
While trying to extract with spark-xml functions ,I ...
1
vote
0
answers
242
views
Spark-XML; Reading from S3 using explicit schema on read. Problem with Array Type in XML
I am attempting to the spark-xml library through the Scala Spark API (https://github.com/databricks/spark-xml) in order to read a large amount of XML files from S3.
The schema across the XML files in ...
0
votes
1
answer
144
views
Scala XML parse multiple fields
I have an XML document structured like:
<document>
<Imposed_TimeSeries>
...
</Imposed_TimeSeries>
<Confirmed_TimeSeries>
...
</Confirmed_TimeSeries>
</...
1
vote
1
answer
345
views
XML Parsing in Databricks Spark Scala AWS using MAVEN - HL7 V3 files from DailyMed
Pulling human prescription label files from DailyMed - Download all Drug Labels. The .xml format that these files come in are HL7 V3 formatted which has proven difficult to parse See Install ...