tags:

views:

50

answers:

2

Hi All, I am calling one xml file from another.

           <?xml version="1.0" encoding="utf-8"?>
               <pp xmlns:xi="http://www.w3.org/2001/XInclude"&gt;
                    <xx>aa</xx>
                 <yy>bb</yy>
                   <xi:include href="A.xml" parse="xml"/>
                 </person>

But I am not sure how to test this one , I mean if its really getting called/refereed or not? Thanks

+2  A: 

Make that xml file you are referring invalid, put an error in it and see if it shows up in the original document.

Gerrie Schenck
yeah..tried, but no error is showing.Do u see in problem in my code?
Wondering
try adding parse="xml" and see what happens
Gerrie Schenck
already tried, but no success.
Wondering
A: 

Surely you can just look at the output and see if the content from A.xml is actually there or not?

Porges