Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8367303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:07:24+00:00 2026-06-09T13:07:24+00:00

I am using a XMLTYPE column in my table. My schema is developed on

  • 0

I am using a XMLTYPE column in my table.

My schema is developed on this link on sqlfiddle

http://sqlfiddle.com/#!4/90306/1

I am able to fetch the value of building using the query there.

But my actual XML is

http://sqlfiddle.com/#!4/226cf

 <m:Building>FBI</m:Building>

having a tag like <m:Building> .

But when i am trying to get the value of building here in second schema,i am getting error.

How i can achieve this ?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:07:26+00:00Added an answer on June 9, 2026 at 1:07 pm

    You’ll need to provide the XML Namespace to the extract function, for example:

    SELECT 
      w.col1.extract
    ('/House/Building/text()', 'xmlns="rn://dt.com/batch/2010/08/13"').getStringVal()
         "Building"
      FROM tab1 w;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using XMLType column in some of my oracle database table. Earlier(in 11.2.0.2)
I'm notable to connect this site http://www.youm7.com/newtkarirrss.asp using curl on the server But i
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
I am using oracle 11g and have a table with an XMLType. There are
I need to select rows from database table using filtering by xml-type column. table
I have this schema and i'm using JAXB to generate java stub files. <?xml
This should be an easy one... In Oracle I am using XMLTYPE.TRANSFORM(myxml, myxsl) to
I've created a simple example of a table with a xmltype column --set up
I am trying to read an XMLType column into a Clob type variable using
I am using Oracle's XMLTYPE as a single column to store user profile. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.