Newtoxml001 Posted August 13, 2019 Share Posted August 13, 2019 Hello, I created a sql query in sql server that outputs an xml document. I have added namespaces to the beginning of the query WITH XMLNAMESPACES ('uri:' as ram, 'uri:' as rsm). Is there a way that this wording does not appear within the structure? xmlns:rsm="uri:" xmlns:ram="uri:" <rsm:ExchangedDocumentContext xmlns:rsm="uri:" xmlns:ram="uri:"> <ram:GuidelineSpecifiedDocumentContextParameter xmlns:rsm="uri:" xmlns:ram="uri:"> <ram:ID>urn:cen.eu:en16931:2017</ram:ID> </ram:GuidelineSpecifiedDocumentContextParameter> </rsm:ExchangedDocumentContext> <rsm:ExchangedDocument xmlns:rsm="uri:" xmlns:ram="uri:"> <ram:ID>2019108789744</ram:ID> <ram:TypeCode>380</ram:TypeCode> <ram:IssueDateTime xmlns:rsm="uri:" xmlns:ram="uri:"> <ram:DateTimeString>20190307</ram:DateTimeString> </ram:IssueDateTime> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now