Wikipedia says that XQuery can run through file extensions .xq, .xqy, .xquery. However, when I try to create a file with any of these e开发者_Go百科xtensions, Notepad rather creates an .xq.txt file and so on. Do I need to add any registry entries or something?
P.S. I am using Windows 7 Ultimate x64.
I wouldn't use notepad at all to be honest.
Check this tutorial to see how to get started with an Eclipse based XQuery IDE: XQuery.me. Otherwise, I would use notepad++ instead of notepad.
hope this helps.
Two possibilities:
- Just put some double quotes around your filename, and notepad will save it without adding .txt.
- Select "All Files" in the file content box will stop notepad adding .txt, too.
Better solution as stated before: use some better editor like Notepad++ or e.
Eclipse is providing open-source plug-ins for XQuery. More at http://xqdt.org.
Two solutions for this:
- While saving the name save it with "" . For example foo.xq will be "foo.xq"
- Change the type of File to all Files. This will not save the file as .txt
精彩评论