Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML/XSLT Generation from VFP Report
Message
 
À
04/04/2005 18:12:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01001351
Message ID:
01001465
Vues:
17
David,

What I want to do is have VFP produce an xslt/xml pair and allow me to use the xslt/xml pair to create a web version of reports. Access does this - and you end up with xml/xsl/asp pages. You can then substitute the xml and have a report that looks similar to what you have in vfp.

I have a large application with hundreds of reports - I want to make some of those reports available over the internet using a xsl transformation methodology. I just don't want to try to create the xsl by hand.

Thoughts?

TIA!
Wayne


>Wayne,
>
>>I want to get VFP to create the XSLT... can I do it?
>
>Your question is a little bit "sparse" on details, but if you're looking for the default XSLT in HTMLListener, look at the GetDefaultUserXSLTAsString method.
>
>You can substitute your own XSLT by simply pointing to an XSLT file in the XSLTUserProcessor property after instantiating an HTMLListener from the FFC\_reportlistener.vcx. For example, here is how I substituted a slightly-modified version of the default XSLT to set the background color to yellow (ewwwww!). It wasn't pretty, but it worked. :-)
oHtml.XsltProcessorUser = ".\Yellow.xslt"
Maybe that will point you in the right direction.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform