I think sml:ConvertXMLToRDF will throw an error if the input XML is invalid, and therefore could be used in your script. If non-parsable XML is encountered it would throw an exception and thus halt execution. You would then probably want to do something with the result, and might need some kind of error handling mechanism in SM?
Holger On Jul 15, 2009, at 6:58 AM, Catrina 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 > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
