English 中文(简体)
MarkLogic XQuery xdmp:save/xdmp:quote indent-untyped option
原标题:

Has anyone used this option before? I do not believe that this feature is working how it should be as I am failing to compile my code once I have inserted this as a option.

The problem I am trying to achive is to pretty print a document which has no namespace, due to the document not having a namespace I can not validate it against a schema therefore the option does not work. The option seems to be the correct way to go about this reading the documentation but I can not seem to get it to work.

Would be good to hear if anyone else has had issues with this option aswell?

Thanks.

最佳回答

Which version of the Server are you using?

Default serialization changed for indenting of typed and untyped XML in earlier versions of 4.2 (around 4.2-3).

http://docs.marklogic.com/4.2doc/docapp.xqy#display.xqy?fname=http://pubs/4.2doc/xml/relnotes/chap4.xml%2340996

问题回答

暂无回答




相关问题
substitute known variables in quoted expression

I want to write a function f that given: x <- 1 f(.(y==x)) It returns the string: "y == 1" The function should be general enough, that the expression can be arbitrary. For instance, f(.(y==x ...

What do you call these different quotes?

I got question about quote. There many few quote using documentation: ` ‘ ’ " “ ” How to say or tell it in word?. There few symbol quote not include in keyboard, (“, ‘, ’, ”), how could I using ...

Dealing with quotes in TinyMCE, PHP message board

I decided that my client would be overwhelmed by a lot of bells and whistles in a message board like phpBB, so I started from scratch. So far everything has been working really well, apart from a ...

What is the difference between 1 and 1 in Lisp?

I had never really thought about whether a symbol could be a number in Lisp, so I played around with it today: > 1 1 > (+ 1 1) 2 > (+ 1 1) 2 > (define a 1) > (+ a 1) 2 The above ...

热门标签