Lists Home |
Date Index |
I have XMLs where I need to reference a repetitive data. I figure there
are several ways to do this. I have successfully used an Entity reference
to identify the data as a String (this works well). However, I would like
for the String to reside in an External file so all XMLs can reference the
same file. The external file would either be an XML or txt file. I have
seen Entity references to non-xml files such as images but am not sure how
I would just point to a text file and its one line of text. I am sure it is
simple I just have no example.
I believe I could also use XPointer and just point to an external xml file
that contains the info I desire. Or I could even possibly use XMLInclude.
Does anyone have a suggestion on the best approach to this problem. I hope
I have been clear enough.