Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.3 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000.
  5. //
  6. // File: adxmlstr.hxx
  7. //
  8. // Contents: Contains definition of string constants used by CADsXML.
  9. //
  10. //----------------------------------------------------------------------------
  11. #ifndef __ADXMLSTR_H__
  12. #define __ADXMLSTR_H__
  13. #define XML_HEADING L"<?xml version=\"1.0\" ?>"
  14. #define XML_STYLESHEET_REF L"<?xml-stylesheet type=\"text/xsl\" href=\""
  15. #define XML_STYLESHEET_REF_END L"\"?>"
  16. #define DSML_NAMESPACE L"<dsml:dsml xmlns:dsml=\"http://www.dsml.org/DSML\">"
  17. #define XML_FOOTER L"</dsml:dsml>"
  18. #define DSML_SCHEMA_TAG L"<dsml:directory-schema>"
  19. #define DSML_CLASS_TAG L"<dsml:class "
  20. #define LDAP_DISPLAY_NAME L"ldapDisplayName"
  21. #define SUBCLASSOF L"subClassOf"
  22. #define NAME_TAG L"<dsml:name>"
  23. #define NAME_TAG_CLOSE L"</dsml:name>"
  24. #define DESC_TAG L"<dsml:description>"
  25. #define DESCRIPTION L"adminDescription"
  26. #define DESC_TAG_CLOSE L"</dsml:description>"
  27. #define OID_TAG L"<dsml:object-identifier>"
  28. #define OID L"governsID"
  29. #define OID_TAG_CLOSE L"</dsml:object-identifier>"
  30. #define TYPE L"objectClassCategory"
  31. #define MUST_CONTAIN L"mustContain"
  32. #define SYSTEM_MUST_CONTAIN L"systemMustContain"
  33. #define MAY_CONTAIN L"mayContain"
  34. #define SYSTEM_MAY_CONTAIN L"systemMayContain"
  35. #define DSML_ATTR_TAG L"<dsml:attribute ref=\"#"
  36. #define DSML_CLASS_TAG_CLOSE L"</dsml:class>"
  37. #define DSML_SCHEMA_TAG_CLOSE L"</dsml:directory-schema>"
  38. #define SCHEMA_FILTER L"(objectCategory=classSchema)"
  39. #define DSML_DATA_TAG L"<dsml:directory-entries>"
  40. #define DSML_DATA_TAG_CLOSE L"</dsml:directory-entries>"
  41. #define DSML_ENTRY_TAG L"<dsml:entry "
  42. #define DSML_OBJECTCLASS_TAG L"<dsml:objectclass>"
  43. #define DSML_OBJECTCLASS_TAG_CLOSE L"</dsml:objectclass>"
  44. #define DSML_OCVALUE_TAG L"<dsml:oc-value>"
  45. #define DSML_OCVALUE_TAG_CLOSE L"</dsml:oc-value>"
  46. #define DISTINGUISHED_NAME L"distinguishedName"
  47. #define OBJECT_CLASS L"objectClass"
  48. #define DSML_VALUE_TAG L"<dsml:value>"
  49. #define DSML_VALUE_TAG_CLOSE L"</dsml:value>"
  50. #define DSML_ENTRY_TAG_CLOSE L"</dsml:entry>"
  51. #define DSML_ENTRY_ATTR_TAG L"<dsml:attr"
  52. #define DSML_ENTRY_ATTR_TAG_CLOSE L"</dsml:attr>"
  53. #define DSML_VALUE_ENCODING_TAG L"<dsml:value encoding=\"base64\">"
  54. #endif // __ADXMLSTR_H__