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]

How to get the 1st element in DTD



Dear all,

Now I am using DOM to generate XML files. I need to get the first element of
DTD.

I am able to use

Enumeration en = dtd.getElementDeclarations();

to get all the elements in the DTD. But I don't know which one is the first
element in the DTD.

I appreciate any help from you!

Li Bing

                 _________________
                |  How are you?  |_____    __
                |  I am Li Bing. |     |__|  |_________
                |________________| OK? |::|  | Need   /
                |                \.____|::|__| Help? <
                |                      \::/  \._______\
   /\**/\       |   ___________________________________
  ( o_o  )_     |__|http://www.public.asu.edu/~libing /
   (u--u   \_)  |  |bing.li@asu.edu, 480-829-8492(H) /
    (||___   )==\  |480-965-9038(L)480-965-1746(O)   \
  ,dP"/b/=( /P"/b\ |__________________________________\
  |8 || 8\=== || 8
  `b,  ,P  `b,  ,P
    """`     """`