| Ben Robb 2004-05-30, 10:45 am |
| I have the following line of code in an application:
-------------------
string XmlString = userProfile.GetXml(ProfileXmlRetrieve.Schema,ProfileXmlFormat.ElementCentric);
-------------------
Is there any particular reason why this returns a schema for Attribute
centric profile xml? Oddly enough, when I do:
-------------------
string XmlString = userProfile.GetXml(ProfileXmlRetrieve.Data,ProfileXmlFormat.ElementCentric);
-------------------
my profile items are indeed in elements. When I do:
-------------------
string XmlString = userProfile.GetXml(ProfileXmlRetrieve.SchemaAndData,ProfileXmlFormat.ElementCentric);
-------------------
the data is in elements, but the schema is for attributes.
Can anyone else recreate this: I am on the following platform...
Windows 2003
Commerce Server 2002 FP1
..NET Framework 1.1
Thanks,
Ben Robb
Technical Architect
cScape Ltd
|