Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macxml class not sorting numerical fields
Message
From
24/05/2001 09:44:24
 
 
To
23/05/2001 12:27:06
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00508863
Message ID:
00510862
Views:
27
>>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform