Ivan-gfan opened a new issue, #5407:
URL: https://github.com/apache/seatunnel/issues/5407

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   When I am using ftp, sftp and other file transfers, I found that the 
**${`file_format_type`}** configuration item did not support the **`xml`** 
format.
   
   I think this is similar to parsing json files, because xml files have the 
same explicit structure,So I hope developers will add this feature
   
   ### Usage Scenario
   
   I have a requirement to parse data structures and data from xml files and 
send them to message queues such as pulsar,kafka, etc., or store them in 
relational databases.
   
   xml file example:
   ```
   <?xml version="1.0" standalone="yes"?>
   <RECORDS>
        <RECORD id="10699354384032" name="Test" description="For Test" 
job_type="DATA_INTEGRATION" create_user_id="2" update_user_id="2" 
create_time="26/8/2023 11:05:05" update_time="26/8/2023 11:05:05"/>
        <RECORD id="10725715145248" name="dd" description="" 
job_type="DATA_REPLICA" create_user_id="2" update_user_id="2" 
create_time="28/8/2023 20:17:29.625" update_time="28/8/2023 20:17:29.625"/>
   </RECORDS>
   ```
   
   ```
   <?xml version="1.0" standalone="yes"?>
   <RECORDS>
        <RECORD>
                <id>10699354384032</id>
                <name>Test</name>
                <description>For Test</description>
                <job_type>DATA_INTEGRATION</job_type>
                <create_user_id>2</create_user_id>
                <update_user_id>2</update_user_id>
                <create_time>26/8/2023 11:05:05</create_time>
                <update_time>26/8/2023 11:05:05</update_time>
        </RECORD>
        <RECORD>
                <id>10725715145248</id>
                <name>dd</name>
                <description/>
                <job_type>DATA_REPLICA</job_type>
                <create_user_id>2</create_user_id>
                <update_user_id>2</update_user_id>
                <create_time>28/8/2023 20:17:29.625</create_time>
                <update_time>28/8/2023 20:17:29.625</update_time>
        </RECORD>
   </RECORDS>
   ```
   
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to