Hi all,
i am trying to learn query and got a basic question
I was trying out conputed constructor to create document and elements and want to make resulting document to preseve whitespace.
I read to add "declare xmlspace preserve;" in query prolog. so i did the following
declare xmlspace preserve;
document {
element book {
attribute year {1234},
element author {
element last {"Grir"},
element first {"Bin"}
},
element price {123}
}
}
Still result doc does't have space.. am I doing anything wrong? didn't see any sample which shows usage so I am bit confused
Can somebody help me
Thanks,
Sharika