Look at June/July XML magazine

-----Original Message-----
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 8:56 AM
To: [EMAIL PROTECTED]
Subject: Sorry that I am asking here. (Join two XML files /parent-child/)


If I have 2 xml file, and I need to join this files.
[first]
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <record>
    <identity>1</identity>
    <name>Jon</name>
  </record>
</root>
[end of first]

[second]
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <record>
    <parent>1</parent>
    <children>Alex</children>
    <children>Peter</children>
  </record>
</root>
[and of second]

And now I need to join this files where <parent> = <identity>
And output should be like this:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <record>
    <identity>1</identity>
    <name>Jon</name>
    <children>Alex</children>
    <children>Peter</children>
  </record>
</root>

Which way I could do this ?

Sincerely yours, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to