Removing a node

Posted on 2003-11-11
Last Modified: 2013-12-25
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/atoz/xml/atozStatic.xsl"?>
<Article xmlns="D:\atoz\Atoz\xml\ArticleSchema.xml">
      <content type="reviewedwebsites" content="condition forum;adhd"/>
      <content type="PostingDate" content="08/09/1999"/>
      <content type="pagetitle" content="What Causes ADHD?"/>
      <content type="Description" content="Find out what the latest research is telling us about the biology of ADHD."/>
      <Meta name="ConditionForum" content="ADHD"/>
      <Meta name="Keywords" content="biological factors, PET scanning, genetics, frontal lobe, basal ganglia, ADHD, attention defict hyperactivity disorder, ADD, Attention deficit, attention deficit disorder, Attention Deficit Hyperactivity Disorder"/>
      <Meta name="AGE" content="AGE-20%H, AGE-30%M, AGE-40%M, AGE-50%M, AGE-60+%L, AGE-CHI%H, AGE-TEEN%H"/>
      <Meta name="GEN" content="GEN-F%M, GEN-M%H"/>
      <Meta name="ATOZTOPIC" content="DC-CAZ-NEUR-ADHD"/>
      <Meta name="ICD9" content="314"/>
      <Title>What Causes ADHD?</Title>
      <PageTitle>WHAT CAUSES ADHD?</PageTitle>
      <Body xmlns="">
            <p>Scientists have yet to discover the precise cause or causes of
Attention-Deficit/Hyperactivity Disorder (ADHD), but increasing evidence  points to biological factors
rather than dysfunctional families, too much television, poor
schooling, food allergies, refined sugar, food additives or
other environmental factors. Undetectable brain damage or minor
head trauma, once theorized as a possible cause of ADHD, also have
been largely disproved. Scientists recently have discovered that
parts of the brain's frontal lobe and basal ganglia are reduced
by about 10 percent in size and activity in children with ADHD.</p>
            <p>Clearly, any self-blame or guilt on the part of parents of ADHD
children is counterproductive. </p>
            <p>Using positron emission tomography (PET) scanning, scientists
at the National Institute of Mental Health demonstrated a
link between a person's ability to pay continued attention and
the level of activity in certain areas of the brain. In people
with ADHD, the brain areas that control attention used less
glucose, indicating that those areas were less active. It appears
from this research that a lower level of activity in some parts
of the brain may cause inattention. Why this happens in some
people but not others is under investigation.</p>
            <p>Among theories being tested is whether prenatal exposure to
cigarette smoke, crack-cocaine, alcohol or other substances
raises a child's risk for ADHD.</p>
            <p><b>ADHD in the genes</b></p>
            <p>There are reasons to believe that ADHD or the tendency toward
the disorder may have a genetic component. For instance, most
ADHD kids have at last one blood relative with an attention
disorder. At least one in three fathers who had ADHD symptoms in
their youth have children with ADHD tendencies. Another study,
which analyzed data from 1,938 Australian families with twins and
other children ages 4 to 12, found when one twin had ADHD,
there was a 91 percent chance that the other identical twin would
also have it.</p>
                  <Source>National Institute of Mental Health</Source>
                  <Source>American Academy of Child and Adolescent Psychiatry</Source>
                  <Source>American Academy of Neurology</Source>
                  <Source>Reviewed Web Sites for ADHD</Source>
            </Reference><Reference><Source>Attention Deficit Disorder Association </Source><Link></Link></Reference><Reference><Source>Children and Adults with Attention-Deficit/Hyperactivity Disorder</Source><Link></Link></Reference></References>
            <AToZArticles><Title>Want to learn more about Attention-Deficit/Hyperactivity Disorder? Then check out these articles in our condition forum:</Title><Reference>
                        <Source>What Is ADHD?</Source>
                        <Source>How Is ADHD Diagnosed in Children and Adults?</Source>
                        <Source>What Other Disorders Can Accompany Attention-Deficit/Hyperactivity Disorder?</Source>
                        <Source>Treating ADHD With Medication</Source>
                        <Source>Non-Medical Treatments for Attention-Deficit/Hyperactivity Disorder</Source>
                        <Source>Educating Children With ADHD</Source>
                  </Reference><Reference><Source>What Are the Most Common Symptoms of ADHD?</Source><Link>/atoz/Adhd/asymptoms.html</Link></Reference></AToZArticles>
                        <Source>Quiz: Does Your Child Have Attention-Deficit-Hyperactivity Disorder?</Source>
                        <Source>Attention-Deficit/Hyperactivity Disorder Message Board</Source>
      <doctor name="reviewdate" content="January 2003"/>
      <doctor name="docname" content="Simeon Margolis, M.D., Ph.D."/>
      <doctor name="doctitle" content="Professor of Medicine, Endocrinology, and Biologic Chemistry"/>
      <doctor name="docuniv" content="The Johns Hopkins University School of Medicine"/>
      <doctor name="docplace" content="Baltimore, MD"/>
      <doctor name="biolink" content="/Atoz/advise.html#17"/>

Assume that i have loaded the above xml document and i have read the content nodes.  I have also checked for the attribute and its value of type and reviewedwebsites.  Now once i confirm that the node name is content and the attribute type is type and its value is reviewedwebsites i want to remove this tag fully.  How do i do this if there is no removeNode

Question by:charulathak
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 75

Accepted Solution

Anthony Perkins earned 50 total points
ID: 9731893
Use the removeChild method.

Also and once again, please maintain your many old open questions:

1 10/17/2003 50 XML and VB  Open VB Controls
2 10/17/2003 75 XML and VB - finding the schema name  Open XML
3 01/18/2003 20 Writing the results of the query into a ...  Open XML
4 01/19/2003 20 Removing tags generated by default from ...  Open XML
5 01/21/2003 20 Getting String contents into a file  Open XML


Expert Comment

ID: 9737555
Good job ! Anthony :)

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 4 hours left to enroll

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question