Results 1 to 3 of 3

Thread: Using AddExternalSchemaFile

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009

    Default Using AddExternalSchemaFile


    I like to check my created xml file.

                Get psDataPath of (phoWorkspace(ghoApplication)) to sDataPath
                Get PathAtIndex of (phoWorkspace(ghoApplication)) sDataPath 1 to sDataPath
                Get Create (RefClass(cXMLDOMDocument)) to hoXML
                Set psDocumentName of hoXML to (sDatapath - "\testdaten\test84.x84")
                Set pbValidateOnParse of hoXML to True
                Get LoadXMLDocument of hoXML to bOK
                Set pbMultipleErrorMessages of hoXML to True
                Get AddExternalSchemaFile of hoXML "" "K:\VDF240\Projekte\GAEB\Data\Testdaten\GAEB_DA_XML_84_3.2_2013-10.xsd" to bOK
    The bOk is false, so the schema is not loaded.
    There ar two parameter get AddExternalSchemaFile sSchema sfile to bOk
    The sfile is "K:\VDF240\Projekte\GAEB\Data\Testdaten\GAEB_DA_XM L_84_3.2_2013-10.xsd"

    I think, I should find it in the schema.xsd.

    Here is the picture of the schema:
    Click image for larger version. 

Name:	Schema.png 
Views:	13 
Size:	62.0 KB 
ID:	16888
    Last edited by Ditte; 15-May-2024 at 08:57 AM.
    Dittmar Stiebitz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts