Im PHP5 ile çalışan, ve ben şu biçimde XML dönüştürmek gerekir:
<item>
<string isNewLine="1" lineNumber="32">some text in new line</string>
<string>, more text</string>
<item>
<string isNewLine="1" lineNumber="33">some text in new line</string>
<string isNewLine="1" lineNumber="34">some text</string>
<string> in the same line</string>
<string isNewLine="1" lineNumber="35">some text in new line</string>
</item>
</item>
Bu gibi bir şey içine:
<item>
<line lineNumber="32">some text in new line, more text</string>
<item>
<line lineNumber="33">some text in new line</string>
<line lineNumber="34">some text in the same line</string>
<line lineNumber="35">some text in new line</string>
</item>
</item>
As you can see, it has joined the text contained in across multiple 'string' nodes. Also note that the 'string' nodes can be nested within other nodes at any level.
Hedef xml kaynak xml dönüştürmek için olası çözümler nelerdir?
Teşekkürler,