Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with XMLToCursor
Message
From
06/05/2008 09:30:19
 
 
To
06/05/2008 09:13:18
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01315306
Message ID:
01315317
Views:
18
>I get this error when transforming a XML file to VFP Cursor with xmlToCursor function:
>
XML Parse Error: White spaces not allowed at this location
>It happens with a line with the character '&'.
>The line has the following content:
>
><InvoiceDescricao>REBENTOS DE SOJA P.E.210 M & C</InvoiceDescricao>
>
>How to solve this problem without replacing the '&' character?


'&' as element content is not valid XML. Replace it the '&'
Regards,
Viv

Update: victim of my own advice! Should read
Replace with '&amp;'
Previous
Reply
Map
View

Click here to load this message in the networking platform