David Bovill <[EMAIL PROTECTED]> wrote on 29-Jan-01
> As it's a kind of feature request. I'm posting it here to gauge the lists
> reaction/support for this idea... it comes from some experiments with using
> the existing htmlText, and recent explorations of XML and the use of style
> sheets with database driven dynamic web sites.
I'm experimenting with using XML and MC for a database. See details below.
My request is to have MC's htmlText follow xml/xhtml requirements: all tags
in lowercase (xhtml), all elements have end tag (xml/xhtml). Might also be
nice to have option of including an "html:" prefix (e.g., <html:p>) in tags
for identification of html tags and specification of their function by
specifying the html namespace in the xml doc.
Rich Herz <[EMAIL PROTECTED]>
---
Details: I'm in the process of converting a 6 MB, 6000 card HyperCard
database to MC. Conversion of the HC stack directly to MC resulted in slow
performance for search & display. Strategy currently is to keep the entire
database in a text file; alternatively one could save database text in a
stack as a custom property to help double-click opening and password
protection. Records and field data are marked up as xml elements. One of
the main xml elements of the file is specification of the MC stack (one
card) in which the data is to be displayed (object name as element name,
object properties as element attributes, scripts, if any, as sub elements).
After the main database stack reads the database text file, it creates the
display stack and its objects, loads the main <data> element into one
variable, then displays selected records. Field data is saved as html (MC
htmlText). Searching so far is just done with offset(), and is as fast as
search & display in the original HC stack. Changes to the display stack are
saved in the data file . Functionality is specified by scripts of the one
main database stack, though scripts can be located in the display stack if
desired.
---
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.