Syntax
FieldXml( cFieldName | nFieldPos ) --> cValueArguments
Field name or one-based field position.
Return value
Field value formatted as text suitable for XML Schema content.
Description
FieldXml() converts the selected field value to text. Character values are returned without trailing spaces; dates use ISO format.
Notes
The result is value text, not an XML element and is not XML-escaped.
Example
PROCEDURE Main()
DbUseArea( .T., , "people.dbf", "People" )
QOut( "XML value: " + FieldXml( "NAME" ) )
DbCloseArea()
RETURNOutput