Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create function to clean xml white nodes #55

Closed
fugerit79 opened this issue Sep 30, 2023 · 0 comments · Fixed by #56
Closed

Create function to clean xml white nodes #55

fugerit79 opened this issue Sep 30, 2023 · 0 comments · Fixed by #56
Assignees

Comments

@fugerit79
Copy link
Member

fugerit79 commented Sep 30, 2023

We want to clean a XML which looks like :

<config>
  	
  <bean id="4.1">
    		
    <field>field21</field>
    		
	
    <labelKey>sec_41_Testlabelwith</labelKey>
  </bean>
  	
  <bean id="4.2">
    		
    <field>field22</field>
    		
	
    <labelKey>sec_42_Testlabel2</labelKey>
  </bean>
  	
  <bean id="4.2">
    		
    <field>field23</field>
    		
	
    <labelKey>sec_42_Testlabel4</labelKey>
  </bean>
  
</config>

making it looks like as :

<config>
  <bean id="4.1">
    <field>field21</field>
    <labelKey>sec_41_Testlabelwith</labelKey>
  </bean>
  <bean id="4.2">
    <field>field22</field>
    <labelKey>sec_42_Testlabel2</labelKey>
  </bean>
  <bean id="4.2">
    <field>field23</field>
    <labelKey>sec_42_Testlabel4</labelKey>
  </bean>
</config>
@fugerit79 fugerit79 self-assigned this Sep 30, 2023
@fugerit79 fugerit79 linked a pull request Sep 30, 2023 that will close this issue
@fugerit79 fugerit79 moved this to 📋 Backlog in fugerit universe Sep 30, 2023
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in fugerit universe Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant