By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,483 Members | 1,052 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,483 IT Pros & Developers. It's quick & easy.

How to use the doc() function

P: 2
Please can i use another file extension in the xquery doc() function?

Example:
Expand|Select|Wrap|Line Numbers
  1. doc("users.html")
I do not have permission to create .xml file, is there a way to access xml data without the .xml extension?
Apr 21 '15 #1

✓ answered by Dormilich

I stab a guess that the doc() function doesn’t care what the file name is, as long as the content is valid XML.

Share this Question
Share on Google+
3 Replies


Dormilich
Expert Mod 5K+
P: 8,639
I stab a guess that the doc() function doesn’t care what the file name is, as long as the content is valid XML.
Apr 21 '15 #2

P: 2
Does that mean i can use .html or .xhtml?
Apr 21 '15 #3

Dormilich
Expert Mod 5K+
P: 8,639
it doesn’t hurt to try it out, does it?
Apr 21 '15 #4

Post your reply

Sign in to post your reply or Sign up for a free account.