On 09/02/2011 17:37, Niklas Nebel wrote: > On 09.02.2011 15:50, underscore wrote: >> The problem is that the metadata looks like this : >> >> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> >> <rdf:Description rdf:about="../content.xml#id322214793"> >> <ns1:sectionType >> xmlns:ns1="http://editor.bungeni.org/anx/">Clause</ns1:sectionType> >> <ns2:sectionUUID >> xmlns:ns2="http://editor.bungeni.org/anx/">1723-18388-38383-38383</ns2:sectionUUID> >> </rdf:Description> >> </rdf:RDF> >> >> Notice how the ns1 and ns2 namespace prefixes are duplicated .... >> But i want it to look like this -- >> >> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> >> <rdf:Description rdf:about="../content.xml#id322214793" >> xmlns:anx="http://editor.bungeni.org/anx"> >> <anx:sectionType>Clause</anx:sectionType> >> <anx:sectionUUID>1723-18388-38383-38383</anx:sectionUUID> >> </rdf:Description> >> </rdf:RDF> > > Why do you want it to look like that? The first example should look the > same to any well-behaved tool. > > Niklas
indeed, this is purely an aesthetic issue. OOo uses the raptor library for parsing and serialization of the RDF graphs, and that's what it produces. -- "There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." -- John Rogers --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
