ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:convertschemafile

convertSchemaFile

Syntax
string ConvertSchemaFile (
  string $filename, 
  optional string $newVersion = NULL,
  optional string $newFile = NULL
  )

Description

Call this method to convert the specified XML schema file to a different AXMLS DTD version. For instance, to convert a schema created for an pre-1.0 version for AXMLS (DTD version 0.1) to a newer version of the DTD (e.g. 0.3).

If no DTD version parameter is specified, the schema will be converted to the current DTD version. If the newFile parameter is provided, the converted schema will be written to the specified file.

The method always returns the result of the transformation or false if an error occur even if an output file name is specified.

v5/axmls/convertschemafile.txt · Last modified: 2016/01/13 02:26 by mnewnham