Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macxml class not sorting numerical fields
Message
De
24/05/2001 09:44:24
 
 
À
23/05/2001 12:27:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00508863
Message ID:
00510862
Vues:
28
>>>>>I try to use Erik Moore macxml class from file area.
>>>>>It allows sorting of output table by clicking in column header.
>>>>>
>>>>>However, sorting in numerical column sorts alphapedically !
>>>>>I got
>>>>>
>>>>>1
>>>>>10
>>>>>2
>>>>>20
>>>>
>>>>I haven't tried yet, but you might get this to work by using an inline schema such as that generated by wwXML's CursorToXML.
>>>
>>>I tried it and posted a code in my previous message. This uses
>>>wwXML class for DTD generation.
>>
>>DTD won't work. If it will work, it will have to use Schema.
>
>I have problems adding schema to xml data island.
>
>I the line
>
>lcOutput = lcOutput + THIS.CreateDataStructureXML() + CR
>
>to macxml.xmltable() method, but browser doen't display table at all
>if this is added.

I haven't worked through this to see if it will work, but inline schemas involve a bit more than that- the schema has to be referenced by name in the XML data island.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform