Hi
Give the XML Schema provided here, how can I search for complexType where the name attribute's value is "OptTmsTimesheetEntry"
I have this XPath Syntex but it's not working...???
I also tried this...Code:FXmlSchema : IXmlDocument; aSelectNode : IDOMNodeSelect; aNode : IDOMNode; iRootNode: IXMlNode; FXmlSchema := LoadXMLDocument(XmlSchemaLocation); iRootNode := FXmlSchema.DocumentElement; aSelectNode := FXmlSchema.DOMDocument.documentElement as IDOMNodeSelect ; aNode := aSelectNode.selectNode('complexType[@name = "OptTmsTimesheetEntry"]');
aNode := aSelectNode.selectNode('/xs:schema/xs:complexType/[@name = "OptTmsTimesheetEntry"]');
Any suggestions...?





Reply With Quote