<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Givent the following element
declaration:<BR> <!ELEMENT Request (JobCreationRequest |
JobModificationRequest | JobEstimationRequest | JobControlRequest |
ServiceControlRequest)?></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>A Request element can have one of the listed children. Is
there a way to get the child element without
attempting getChild("JobCreationRequest") then if that fails try
getChild("JobModificationRequest") an so on.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>What I really want to do is get the first (only) child of the
Request element then use element.getName() to determine which one actually
appears in the document.</DIV>
<DIV><BR>Thanks</DIV>
<DIV> </DIV>
<DIV>Jeddy</DIV></FONT></BODY></HTML>