Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xml attribute and value
Message
 
 
To
25/10/2011 17:13:40
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01527365
Message ID:
01527408
Views:
55
Try to set XMLField.IsAttribute=.T. for the Type cursor field

>
><distribution-code>
> <distribution-code-name>10305Z01</distribution-code-name>
> <Delivery-Method Type="Subscriber">
>	<Selected>true</Selected>
>        <Override-Counts>
>                        <Thursday-count>750</Thursday-count>
>           </Override-Counts>
><Delivery-Method>
></distribution-code>
>
>
>
>In the above snip of xml that I need to generate, there is the clause Type="Subscriber".
>I understand that this is an attribute and attribute value. Using the xmladapter, vfp9, is there a way to specifiy this?
>I could do it after the fact with a strtran on
<Delivery-Method>
but if there is a different, better way, I'd like to know.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform