Jump to content

How can I merge following elements together?


removed

Recommended Posts

HelloI export a XML-File from InDesign with the paragraph styles. So every paragraph has a style and this make a own element. Now sometimes there're more then one after another paragraph style in the text. So i get this xml-file:<root><text><arial_regular>Text 1</arial_regular><arial_regular>Text 2</arial_regular><image>src</image><arial_regular>Text 3</arial_regular><text></root>Now I try to merge following elements together like this:<root><text><arial_regular>Text 1<br/>Text 2</arial_regular><image>src</image><arial_regular>Text 3</arial_regular><text></root>How can I make this? Hope, everyone can help me. :)Thx and best regards,removed

Link to comment
Share on other sites

Are you using any language in particular? This is in the Schema forum, but Schema can only describe XML documents, not modify them.

 

Perhaps you can just manually edit the file.

Link to comment
Share on other sites

I moved the thread to the XML forum, but I can't help you any further until I know what languages or tools you're using to edit the XML.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...