[Home] [By Thread] [By Date] [Recent Entries]

  • From: Avital Nagar <Avital@c...>
  • To: xml-dev@l...
  • Date: Mon, 08 Oct 2001 12:41:03 +0200

Title: DOM

If I have an xml document that looks like this:

<shop>

        <location> US </location>

        <books>

                <title> Snow White </title>

                <author>

                        <firstname> Liza </firstname>

                        <lastname> Baker </lastname>

                </author>

                <author>

                        <firstname> Tanith </firstname>

                        <lastname> Lee </lastname>

                </author>

       

        </books>

</shop>

How can I get the firstnames? I have to display only the first name in asp. I know I have to use something with getelementsbytagname and firstChild.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member