Thanks,
Rich Kroll
You can load the DTD into it and it will use that to help you hint
your XML.
ap
________________________________________
Andrew Powell
Senior Consultant
e-mail: andrew...@universalmind.com
Works very well for me:
http://www.eclipse.org/webtools/
Mark
Matt
I noticed that in a few sample apps that people are using machii.xml.cfm
instead of the (what I thought was) standard machii.xml. What is the
benefit of adding a .cfm extension to this? My first thought was that
you could include CFML into the template, but after thinking about it,
it seems to me that this file is being parsed as an XML doc and would
not work in this fashion. What am I missing?
Rich Kroll
The point of doing that is to secure the configuration file. At the
top of the xml.cfm file there is a line of CFML commented out using an
HTML comment. This is not the same as a CFM comment and the inner CFM
command runs.
If the xml.cfm file is hit from the webserver, no content is rendered
to the browser thusly protecting your configuration file from prying
eyes in the browser.
However, internally, the same xml.cfm file is passed off to the MachII
configuration parser and the HTML comment is respected. What is left
is the MachII xml configuration and this is happily processed by the
framework.
HTH
Dan Wilson
--
"Come to the edge, he said. They said: We are afraid. Come to the
edge, he said. They came. He pushed them and they flew."
Guillaume Apollinaire quotes
Matt
On 1/30/07, Kurt Wiersma <kwie...@gmail.com> wrote:
Can anyone provide some detailed instructions on how to setup the DTD
in XMLBuddy? I recall doing this awhile ago when I was working on
Fusebox but forgot the specifics... I've got the plugin installed
just need to get it pointed to the DTD I imagine.
Thanks,
Jim
Then make sure you have a copy of the dtd in the same dir as the xml
file itself.
Mat