472,145 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

How to use the doc() function

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.

3 4861
Dormilich
8,658 Expert Mod 8TB
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
Does that mean i can use .html or .xhtml?
Apr 21 '15 #3
Dormilich
8,658 Expert Mod 8TB
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.

Similar topics

40 posts views Thread by Xah Lee | last post: by
2 posts views Thread by Xah Lee | last post: by
20 posts views Thread by Xah Lee | last post: by
53 posts views Thread by souporpower | last post: by
1 post views Thread by Alberto Menchen | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.