Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XSL equivalent to $
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
XSL equivalent to $
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00975238
Message ID:
00975238
Vues:
55
I'm playing with an XML document inside a static HTML page ala these two pages:

http://fox.wikis.com/wc.dll?Wiki~WikiXSLTest~Wiki

http://msdn.microsoft.com/XML/XMLCodeSamples/default.aspx?pull=/library/en-us/dnexxml/html/xml020899.asp

And it's working pretty cool/fast for the sort feature. Now I want to add a filtering ability and hitting a stumbling block. There are 4 columns and I'd like to be able to filter the result set on some combination of columns.

The example from the MSDN article works well to filter to a SQL where equivalent of servname > 'S'

filterBy.value = 'VFPData/dbservers[servname $gt$ \'S\']';

But how can I replicate this equivalent: where 'PROD' $ servname?

filterBy.value = 'VFPData/dbservers[contains( servname, cFilter )]'; // fails quite miserably with an Error: Unknown method VFPData/dbservers[->contains( servname<-, cFilter)] in the IE window.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform