Thanks Marco,
I have another question. I am trying to use Basex's SQL functions. I have tried some basic SQL commands for connecting and selecting some rows from table, it works fine.
For my project, I need to upload and export pdf document/word doc/images form/into Oracle database that needs some special oracle-specific stuff. Has anybody tried to upload blob/digital document to Oracle with Basex? I appreciate any help
Erol Akarsu
On Tue, May 6, 2014 at 2:07 PM, Marco Lettere marco.lettere@dedalus.euwrote:
Hi Erol,. try
element book {
for $i in 1 to 4 return attribute {xs:QName("isbn_" || $i)} { "value" || $i}
}
Regards, Marco.
On 06/05/2014 19:48, Erol Akarsu wrote:
I would like to create an xml element that will have dynamic number of attributes, something like this where n will change and $value_1 to $value_2 will be provided by outside
element book { attribute isbn_1 {$value_1} attribute isbn_2 {$value_2} attribute isbn_3 {$value_3} . . . attribute isbn_n {$value_n} }
Can we do it?
Thanks