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 5927973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:14:23+00:00 2026-05-22T14:14:23+00:00

For a particular node, I have an xml string stored in the database and

  • 0

For a particular node, I have an xml string stored in the database and it doesn’t have an ID attribute.
e.g. <H1 xmlns="http://www.w3.org/1999/xhtml">Sample text here.</H1>

I’m wondering how I could either create a DOM node or get the DOM node object based on this xml string.

Once I find this node, I need to manipulate it (hide it, etc.). I can’t use DOMParser() to convert it into an object, since it just creates a stand along XMLDocument object.

Any ideas ?

  • 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-05-22T14:14:24+00:00Added an answer on May 22, 2026 at 2:14 pm

    To create a new DOM node in the target document, call adoptNode to adopt the created node from the document created by DOMParser to the target one.

    If you just want to find the node in a document, you’ll have to walk the DOM tree and call isEqualNode on each node.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have XML shaped like the following: <?xml version=1.0 encoding=UTF-8?> <feed xmlns=http://www.w3.org/2005/Atom xmlns:openSearch=http://a9.com/-/spec/opensearch/1.1/ xmlns:docs=http://schemas.google.com/docs/2007
i have this problem to find a particular xml node l have post this
I have an xml document where an xml node with a particular name, say
So, I have this code that searches for a particular node in my XML
I have a simple TreePanel. I would like to select a particular node upon
Problem description: Read an xml file, traverse to a particular node (element), if it
How to test whether a node contains particular string or character using C# code.
I have an XML document where the number of decimal places a particular xs:decimal
I have a stored proc that inserts XML into an underlying table. Unfortunately the
i have a String in my page, String response. This String contains the xml

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.