question re triples in xml literals

Hi,

I'm just reading the syntax doc and have a question regarding the
"[recurse] = false" rule, once an xml object is found. A sample
use case would be the description of an rss item à la hAtom, e.g.:

[[
<div about="post.htm" instanceOf="rss:item" property="content:encoded">
   <h2 property="rss:title">A post</h2>
   <p property="rss:description" datatype="">
      <a about="#foo" rel="foaf:weblog" href="http://foo.com/">Foo</a>
      said that.
   </p>
</div>
]]

i.e. I'm trying to generate 

[[
<post.htm>  content:encoded "<h2>....</p>"^^rdf:XMLLiteral ;
            rss:description "Foo said that." .
]]

without repeating the post body. And I don't want to lose the
triples from the rss:title/foaf:weblog info.

The syntax doc says 

[[
"if an author indicates that some branch of the tree should be 
treated as an XML literal, no further processing should take 
place on that branch"
]]

which (to me) suggests that no "sub-triples" should be generated
whenever an XMLLiteral is encountered. How would I have to
change the code above to markup an XMLLiteral that contains
structured RDFa information?


Cheers,
Benji

--
Benjamin Nowack
http://bnode.org/

Received on Monday, 22 October 2007 17:31:53 UTC