How can I make an external xml file within current xml File
as part of same tree structure? What’s the API to achieve parsing file
entity and making it part of current XML File or this is achieved automatically
just by specifying &(ampersand ) in front of file name ? Help with below example: *****************************************************
DTD: E.g. <!-- xq226.xml --> <!DOCTYPE poem [ <!ENTITY ext1 SYSTEM "lines938-939.xml"> ]> *****************************************************
XML FILE <poem> <verse>I therefore, I alone first undertook</verse> <verse>To wing the desolate Abyss, and spy</verse> &ext1; <verse>Better abode, and my afflicted Powers</verse> <verse>To settle here on Earth or in mid-air</verse> </poem> *****************************************************
lines938-939.xml <!-- xq227.xml (lines938-939.xml) --> <verse>This new created World, whereof in Hell</verse> <verse>Fame is not silent, here in hope to find</verse>
*****************************************************
This is to be passed to XML Parser? <poem> <verse>I therefore, I alone first undertook</verse> <verse>To wing the desolate Abyss, and spy</verse> <verse>This new created World, whereof in Hell</verse> <verse>Fame is not silent, here in hope to find</verse> <verse>Better abode, and my afflicted Powers</verse> <verse>To settle here on Earth or in mid-air</verse> </poem>
|