Removing a node

<?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

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Anthony PerkinsCommented:
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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Good job ! Anthony :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.