Remote XPath queries don't need a local XML document
Posted: Tue Jan 26, 2010 1:30 pm
Hi,
If I want to query a remote resource using the XPath doc() function, I must still open a dummy XML document in <oXygen/> in order to enliven the XPath tools. I would like to suggest that this is an unnecessary restriction.
Also, even more trivial than the above, I am nevertheless curious to know why, when I select "DTD" from the new file wizard, it puts an XML declaration at the top of the new file. Since a DTD isn't XML, the only time this would be useful is in the rare occasions someone might actually want to embed the DTD in their XML but then the file extension wouldn't be ".DTD". I think the behaviour of the "New DTD" wizard is a little overzealous; perhaps it could be persuaded to desist?
Apologies if I have missed how to select/deselect these features.
Just v. minor niggles in an otherwise great product!
If I want to query a remote resource using the XPath doc() function, I must still open a dummy XML document in <oXygen/> in order to enliven the XPath tools. I would like to suggest that this is an unnecessary restriction.
Also, even more trivial than the above, I am nevertheless curious to know why, when I select "DTD" from the new file wizard, it puts an XML declaration at the top of the new file. Since a DTD isn't XML, the only time this would be useful is in the rare occasions someone might actually want to embed the DTD in their XML but then the file extension wouldn't be ".DTD". I think the behaviour of the "New DTD" wizard is a little overzealous; perhaps it could be persuaded to desist?
Apologies if I have missed how to select/deselect these features.
Just v. minor niggles in an otherwise great product!