DictionaryXMLTransforms Object
Use this object to transform data from a Dictionary object into Extensible Markup Language (XML) and vice-versa, using a specified XML Data Reduced (XDR) schema.
ProgID: | Commerce.DictionaryXMLTransforms (Externally creatable) |
COM Class Name: | DictionaryXMLTransforms |
Type Library Name: | Microsoft Commerce 2000 DictionaryXMLTransform Type Library |
DLL Name: | DictionaryXMLTransforms.dll |
Threading Model: | Apartment |
Important
The DictionaryXMLTransforms object is only capable of processing dictionary keys with names that would be allowable as XML Node names. Allowable characters include A-Z and the underscore "_" character. Disallowed characters include"*", "\", etc., and foreign-language characters.
Every dictionary key value must be URL-encoded.
The methods of the DictionaryXMLTransforms object are shown in the following table.
Method | Description |
GenerateSampleXMLInstanceFromDictionary | Produces an XML instance based on the specified Dictionary object. |
GenerateXMLForDictionaryUsingSchema | Extracts an XML instance from the specified Dictionary object that conforms to the specified schema. |
GetXMLFromFile | Generates an XML Document Object Model (DOM) document from the specified file. |
ReconstructDictionaryFromXML | Transforms the specified XML instance (which must comply with the specified schema) into a Dictionary object. |
Remarks
The example code that calls this method can be found in the payment.asp and _recvpo.asp files. An example of the use of a XML schema can be found in the POSchema.xml file in the Solution Sites.