Hi all,
I have xml file and I use SAX parser to parse it. Why is SAX parser parsing
content of CDATA section? I am using default configuration of SAX parser.
All I need to do is to get content of CDATA section and dump it to the file,
all this using SAX parser. Any suggestions? Thanks
<?xml version = '1.0' encoding = 'UTF-8'?>
<test:root xmlns:test="urn:mytest">
<test:action><![CDATA[<?xml version="1.0"?>
<Employee>
<NAME>Steve Smith</NAME>
<FLIGHT>
<FLIGHT_ROW num="1">
<FLIGHTID>190021</FLIGHTID>
<FLIGHTNUMBER>UA85</FLIGHTNUMBER>
<DEPART_FROM>SFO</DEPART_FROM>
<ARRIVE_TO>JFK</ARRIVE_TO>
<SCHEDULED_DATE>11/18/2098 0:0:0</SCHEDULED_DATE>
<SCHEDULED_TIME>17:05</SCHEDULED_TIME>
<EQUIPMENT>12312231</EQUIPMENT>
<CREW>8001</CREW>
</FLIGHT_ROW>
<FLIGHT_ROW num="2">
<FLIGHTID>19828</FLIGHTID>
<FLIGHTNUMBER>UA86</FLIGHTNUMBER>
<DEPART_FROM>JFK</DEPART_FROM>
<ARRIVE_TO>SFO</ARRIVE_TO>
<SCHEDULED_DATE>11/18/2098 0:0:0</SCHEDULED_DATE>
<SCHEDULED_TIME>21:00</SCHEDULED_TIME>
<EQUIPMENT>5534222</EQUIPMENT>
<CREW>8002</CREW>
</FLIGHT_ROW>
</FLIGHT>
</Employee>]]>
</test:action>
</test:root>
---
Tomas Cirip
*----------------------------------------
This message is intended only for the use of the intended recipients, and it
may be privileged and confidential. If you are not the intended recipient, you
are hereby notified that any review, retransmission, conversion to hard copy,
copying, circulation or other use of this message is strictly prohibited. If
you are not the intended recipient, please notify me immediately by return
e-mail, and delete this message from your system.
*----------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]