R
rene
Hello everybody,
i have these 2 xml files
------1.xml------
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element>1</element>
<element>2</element>
</root>
------end--------
------a.xml------
<?xml version="1.0" encoding="UTF-8"?>
<root>
<xi:include href="1.xml" xmlns:xi="http://www.w3.org/2003/XInclude"
/>
<element>A</element>
<element>B</element>
</root>
------end--------
and want to have these output:
A1
B2
and so on...
Are there possibilities the get this output with nested for each? I've
also played with position() in one single foreach, but i cant get
these output.
Please can someone help me? I have no problem to get the output AB12
or with an manually xpath index.
Thanks a lot
René
i have these 2 xml files
------1.xml------
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element>1</element>
<element>2</element>
</root>
------end--------
------a.xml------
<?xml version="1.0" encoding="UTF-8"?>
<root>
<xi:include href="1.xml" xmlns:xi="http://www.w3.org/2003/XInclude"
/>
<element>A</element>
<element>B</element>
</root>
------end--------
and want to have these output:
A1
B2
and so on...
Are there possibilities the get this output with nested for each? I've
also played with position() in one single foreach, but i cant get
these output.
Please can someone help me? I have no problem to get the output AB12
or with an manually xpath index.
Thanks a lot
René