I notice that the sxml:owl contains the sxml:prefix property. When I imported my hierarchy, I imported using XML and ConvertXMLtoRDF. My input XML contains xmlns attributes on the root element. However, I don't see where sxml:prefix is getting set. Do I need to set the sxml:attribute on the sxml:prefix property? How do I get the namespace definitions to get stored in the RDF?
On Jul 15, 10:43 am, Scott Henninger <[email protected]> wrote: > ConvertRDFtoXML will add all of the defined prefixes. Using > smf:prefix and other SPARQL functions, you should be able to ensure > that all prefixes are defined. Verifying XML is not part of the > Composer tool suite, so I'm not sure namespaces in XML can be > verified. > > I'm not sure that even Xpath has access to namespace prefixes in XML > files (http://composing-the-semantic-web.blogspot.com/2009/05/ > interacting-with-xml-based-web-services.html). > > -- Scott > > On Jul 15, 8:58 am, Catrina <[email protected]> > wrote: > > > > > How does that put the namespace prefix definitions in the XML? > > > For example, my XML needs to contain: > > <skos:Concept xmlns:skos="http://www.w3.org/2004/02/skos/core" > > > I want to parse the XML, to ensure that all needed namespace > > definitions exist in the XML. > > > ~Catrina- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
