<TABLE NAME="PDF " PRIMARYKEYE="PDF "> <FIELD NAME="PNUMBER" FIELD="FieldTypeNumber" /> <FIELD NAME="STATUS" FIELDTYPE="FieldTypeNumber" /> <FIELD NAME="COMPANY" FIELDTYPE="FieldTypeNumber" /> <FORM NAME="PDF_DOC" TITLE="REGEN_PDF_DOC"> <FORMFIELD NAME="POLICY_NUMBER" DBCOLUMNNAME="(SLECT POLICY_NUMBER FROM POLICY ,NOTE WHERE POLICY.POLICY=NOTE.TABLE_KEY)" /> <FORMFIELD NAME="STATUS" DBCOLUMNNAME="(SELECT STATUS FROM STATUS_VALUE)" /> <FORMFIELD NAME="COMPANY" DBCOLUMNNAME="(SELECT COMPANY FROM COMPANY WHERE COMPANY=20000)" /> <FORMFIELD NAME="ENTERPRISE" /> <FORMFIELD NAME="EFFECTIVE_DATE" /> </FORM> <SEARCH NAME="SEARCHPDF" ORDERBYCLAUSE="PDF "> <JOIN TABLE="NOTATION" TYPE="LEFT" ON="PDF CONDITION="ISNOTNULL" /> <JOIN TABLE="PNUM" TYPE="INNER" ON="NOTE= POLICY" CONDITION="ISNOTNULL" /> <SEARCHFIELD NAME="PNUMBER" LABEL="PNUMBER" /> <SEARCHFIELD NAME="EFFECTIVE_DATE" LABEL="EFFECTIVE DATE" /> </SEARCH> </TABLE>
XElement table = xmlDoc.Elements("TABLE").Single(W => W.Attribute("NAME").Value.Equals("PDF ")); IEnumerable<XElement> joins = table.Elements("SEARCH").First().Elements("JOIN");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)