webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

programmatically validate xml against DTD

  • 1.  programmatically validate xml against DTD

    Posted Tue December 03, 2002 10:54 AM

    I am trying to build a service to validate an xml file against a DTD. Ideally the service would accept two input filenames (xml file, DTD file) and return a valid/invalid result.

    This can be easily done if I convert the DTD to a record/schema manually using the Developer, but I want to do the whole job in a service.

    I got the job done by using the unexposed service generateFromDTDString, which creates a schema from a DTD. It works fine but I would like the service to get rid of the generated schema.

    Any ideas how to delete a schema from within a flow step?


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 2.  RE: programmatically validate xml against DTD

    Posted Wed December 04, 2002 08:31 AM

    I found the answer to my own question.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods