469,338 Members | 8,430 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,338 developers. It's quick & easy.

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 4792
Dormilich
8,651 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,651 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 zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.