DictionaryXMLTransforms Class (PIA)

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.

Ee784755.important(en-US,CS.20).gif Important

  • The DictionaryXMLTransforms object processes only 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.

Methods

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 an XML schema can be found in the POSchema.xml file in the Solution Sites.

Requirements

Namespace: Microsoft.CommerceServer.Interop

Platforms: Windows 2000, Windows Server 2003

Assembly: cs_dictxmlxfrms (in cs_dictxmlxfrms.dll)

See Also

General Purpose Objects

Dictionary Object

Copyright © 2005 Microsoft Corporation.
All rights reserved.