How can we improve Windows Azure Data Management: SQL Database?

xmlnamespaces feature required in sql azure

We have started shifting our enterprise application to windows azure platform...

but we have critical issue where we are using XMLNAMESPACES in attribute level ... since sql azure is not supporting this syntax what can be the best alternative or will it be supported in future sql azure features.....

this is business based enterprise application developed based on many client requirements we cannot change the xml format.. so please provide xmlnamespaces features in sql azure

DECLARE @x xml ,
@L_C VARCHAR(10),
@l_cnt numeric(10),
@doc int
BEGIN
SET @x='<F CT:I="54" CT:Ins="" CT:F="1" CT:X="F$F$" xmlns:CT="your:namespace" DEF="1">
</F>'
;WITH XMLNAMESPACES ('your:namespace' as "CT")
SELECT c.value('@CT:I','NUMERIC(10)') AS CT_I,
c.value('@C','NUMERIC(10)') AS C FROM @x.nodes('//F') AS T(c)
END

70 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Syed Amrullah MazharSyed Amrullah Mazhar shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • AmreenAmreen commented  ·   ·  Flag as inappropriate

        Yes, I too go with you syed, we require xmlNamespaces at attribute level, since most of the time we use xml,
        It would be really helpful if XML Namespaces features at attribute level are included in SQL Azure

      Feedback and Knowledge Base