OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xml-dev] DOM



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.