Does writing XPath Queries require to know DTD?
<p>I am writing some XPath queries for some XML files. However, the DTDs of those files are unavailable, though I have some basic ideas about the structure of the XML files. </p>

<p>I am wondering <strong>should we assume the DTDs are always available when writing XPath queries?</strong></p>

<p>(I am new to XPath, pls correct me if I am not asking the right question).</p>