Closed kardeiz closed 9 years ago
The rewrite using Haml doesn't directly support it; ow ever, you can now provide your own templates to so this. If you'd like to contribute one, we could add it as an option again.
Oof, this hurts. Time to learn about Haml templates.
I think it can be supported in the default template without too much trouble, I'll put it on my queue.
I'm not grokking the context for doing it in the templates, but looks like some combination of overriding the predicate handler and the @depth attribute could do the job.
On Thu, Jul 10, 2014 at 5:25 PM, Gregg Kellogg notifications@github.com wrote:
I think it can be supported in the default template without too much trouble, I'll put it on my queue.
— Reply to this email directly or view it on GitHub https://github.com/ruby-rdf/rdf-rdfxml/issues/27#issuecomment-48666583.
Better late than never, sorry it took me so long to get to this.
Does
v. 1.1.1.1
provide themax_depth
option forRDF::RDFXML::Writer
? For example:I've looked around this repository and
rdf-1.1.1.1/lib/rdf/writer.rb
and I don't see it.If it's no longer available, are there alternatives for formatting the serialized RDFXML?