Hi All,
How to handle external entity in DOM and how to display internal entity reference in DOM? For example :
i defined this at the bottom of an xml document :
<!ENTITY message "Thank you for your purchases!">
<!ENTITY terms SYSTEM "terms.xml">
Then call it within the document also :
&terms;
&message;
with terms.xml :
<?xml version="1.0"?>
<terms>
<term>Visa, Mastercard, American Express accepted. Checks will be accepted
for orders totalling more than USD 5000.00</term>
<term>All payments must be made in US currency</term>
<term>Returns within 15 days</term>
<term>International orders may be subject to additional customs duties and
levies</term>
</terms>
Do i have to make parser inside parser for handling external entity in DOM?
I plan to view the content of each entity.But,I confused how to do that.
Could someone help me please???😕
Thank you so much
Regards,
Stella