home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,288 of 9,834   
   modri dirkac to All   
   Re: ParadoxFile to XML   
   09 Jul 08 15:09:56   
   
   From: modridirkac@email.si   
      
   I created my method for XML files.   
   It requires DB table and a file with fields and XML tags to be joined with   
   DB.   
   This file with instructions how to join DB and tags to XML look like this:   
      
   ##table mt MasterTable##   
   ##table pt :FKWDB:fkwpt##   
   ##table cust :STRDB:CUST##   
   ##format Date DO(%Y-%M-%D)##   
   ##format Number W.2##   
      
     
        ##mt."Customer ID"##        ##cust.qlocate(mt."Customer ID")##        ##cust."Name1"## ##cust."Name2"##       
                ##pt.SetRange(mt."Invoice ID")##        ##scan pt##                ##pt."Qty"##        ##pt."Price"##                ##endscan##               
                     In this example in Master table I have one invoice       Pt table is detail table for invoice       cust table is customer table.              Method then opens TCursors on this tables (first 3 lines)       The I set formatting for different data types       Everything between ## ## is a command to interpreter or refference to field       in table.       Everything else is directly written to final XML file.              Jure               je napisal v sporocilo       news:h9di64lnvdjqod59i9qtfnd4sq3h1jfrpk@4ax.com ...       > Hi,       > I am using Paradox 9. Thesedays I am trying to convert all of my       > Lists into XML-Files to display them via XSL.       > Has anybody tried to write an XML-Export-Filter -Function or       > something like that in ObjectPal?       > Anything is helpful.       >       >       > M.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca