BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


JavaScript
Javascript XML element listing
Sorting Data Islands by clicking on the column header (using behaviors).
Simple JS Menu Tree using XSLT
xml report writer
Filtering Data Islands
Small XML/XSL application with JavaScript
Table Column sorting using XML, XSL and JavaScript
Display of Hierarchical Data Islands
x++ beta 0.2 release (includes ISAPI filter/interpreter)
HTTP File Commander
XML Ticker
Fading Ticker
How to understand the flow of control in XLST
Begginers, search the Bible
JavaScript Ticker (using Tabular Data Control)
-postfix.aspx>Infix <> Postfix
Nested Tables And Data Island
XML Data Traversal
TrimWhiteSpace
Two Tier Data Islands with Expanding/Collapsing Child elements.


 
 

 LAMP >>


By Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First Posted 09/17/2001
Times viewed 3086

XML cache on client for the desktop application website


This post contains attachments
v20010917234828.zip 

Summary XML cache on the user client can be used for the desktop application without server.[more]

User Requirement:

  1. Internet Explorer Browser 5.0 or higher.
  2. operating system window 98/me/2000/XP
  3. MSXML.dll

XML cache on the user client can be used for the desktop application. It can be save in the different filename.

User data persistence on the client used for kept the XML file as a Database.

 Create the html form and parse the form fields to be an XML format, then using the

UserData persistence behavior to create a data island and store it in client directory file.

See the architectural of figure 1.0.

Figure 1.0 Architectural of XML cache application

Logical Architectural:

Scenario to define the system context:

  • New.htm: create the new htm form field entries.
  • Edit.htm: edit the last XML cache vocab & create the fields form entry.
  • Print.htm: find and get the last Vocab and load it to print.
  • Generic.js: generic methods file.
  • General.css: the cascading style sheet to format the layout content.

All context form must be included this element:

1. <input type=hidden class=UserData name=UserData/>

System of XML vocab:

  • FileList:

<!DOCTYPE root [

   <!ELEMENT root (file*)>

   <!ELEMENT file (#PCDATA)>

]>

         <root>

                 <file>file-1</file>

           <file>file-n</file>

         </root>

  • FileSession:

Note: depent on the fields name the element context

<root>

     <tax1> </tax1>

      <tax2></tax2>

        :

      <taxn></taxn>

</root>

 System methods context:

  • FileListCache: save or load the client session name, like as filename in Windows Explorer directory.
  • FileSessionName: the dynamics session name create from the dialog box and save the information fields vocab.
  • Save Session: method function using user data persistence to save the XML vocab.
  • Load Session: method function using user data persistence to load the XML vocab.
  • Data Island: XML data island fields depend on the field names.
For more details please take a look at the figure 1.1 (see attachment)

Additional information


Rate this article on a scale of 1 to 10 (1 votes, average 10)

Your vote :  

 LAMP >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML