enigment wrote:
So say I want to do this the right way, and parse web.xml to find the location of the bluedragon xml config file.
You're going to be 99.999% safe assuming that the config file is located under /WEB-INF/bluedragon/bluedragon.xml. But if you want to do it the "right" way ... ;-)
Can you explain what braindead thing I'm doing that makes even this simple XmlSearch not find anything:
Having a schema declaration in the top node throws XML searches off--I'm not enough of an xpath guru to know why, but this happens in ColdFusion as well.
Just use the local-name() function and it'll resolve the issue, and this works whether there's a schema declaration or not:
<cfset nodes = XmlSearch(xmlDoc, "//*[local-name()='servlet']") /> Hope that helps. -- Matthew Woodward [email protected] http://www.mattwoodward.com/blogPlease do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
smime.p7s
Description: S/MIME Cryptographic Signature
