Sorry if this is a simple question, but I have looked for
examples without success...

I want Jena to read N3 with literal XML values,
possibly including namespaces. Then write them out
as RDF, preserving the XML and its namespaces.

An example of my input:

<THING>     dc:description
 "Text and a <link to='place'>complex element</link>."^^rdf:XMLLiteral    .

But the RDF output is escaped XML; the angle brackets
are replaced by escape sequences. I want to process the output
with XSLT, so I would prefer the XML to remain as such.

Is this even supposed to be possible?

Oddly enough, if I use very simple XML (no attributes, no
namespaces) it does approximately what I want!

Thank you.
David


Reply via email to