Hello,
I am trying to retrieve some non-XML RDF data (as "text/turtle") from a SPARQL endpoint. I need to output the Turtle as a CDATA section inside a <script> tag in an XForms (X)HTML file, then add that file to a database.
The file gets added correctly, but I'm not able to generate the CDATA section. Here is the function:
db:add("xforms", document { $xslt-pi, $css, $form }, "turtle-test.xml", map {"cdata-section-elements": "script"})
When I run this, I get an error: [bxerr:BASX0002] Unknown database option 'cdata-section-elements'.
I get the same error no matter which option I use (not just "cdata-section-elements"), so I guess I may be using the wrong syntax.
Hope someone can point me in the right direction!
Thanks in advance, Tim
-- Tim A. Thompson Metadata Librarian (Spanish/Portuguese Specialty) Princeton University Library