Hi I'm trying to parse an XML File that matches the below sample format:
NON -XML LINE
\NEWLINE
XML TAGS
XML TAGS
...
\NEWLINE
NON-XML LINE
The above format repeats
Sample BELOW:
2016.11.30 07:57:57:447 EST | Audit | read79168853 | NONE | System | DeviceManagementFileAuthLocationGetRequest18
<?xml version="1.0" encoding="UTF-8"?>
<TAB1 protocol="OCI" xmlns="C">
<sessionId xmlns="">0</sessionId>
<command xsi:type="DeviceManagementFileAuthLocationGetRequest18" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<deviceAccessProtocol>Http</deviceAccessProtocol>
<deviceAccessMethod>GET</deviceAccessMethod>
<deviceAccessURI>/System.xml</deviceAccessURI>
</command>
</TAB1>
Tried using XML Tabular Data input and got the following error:
XML data error. There is a problem processing xml data.
XML data error. There is a problem processing XML data line [1] column [1]. Content is not allowed in prolog.
Error code:
Raised on 2016-12-01 at 20:15:51
Java details:
com.lavastorm.brain.node.lal.tabularXml.AbstractTabularXmlFile$TabularXmlErrorHandler
(AbstractTabularXmlFile.java@263)
Any guidance re parsing this XML/Text File is Appreciated.