Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
Upload All Database files
Browse files Browse the repository at this point in the history
version 1.0
  • Loading branch information
amirshnll committed Mar 17, 2019
1 parent 5536fb2 commit 3d57eca
Show file tree
Hide file tree
Showing 9 changed files with 523,949 additions and 0 deletions.
Binary file added Dictionary.accdb
Binary file not shown.
Binary file added Dictionary.mdb
Binary file not shown.
48 changes: 48 additions & 0 deletions EnglishPersianWordDatabase.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<HTML xmlns:signature="urn:schemas-microsoft-com:office:access">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8"/>
</HEAD>
<BODY ONLOAD="ApplyTransform()">
</BODY>
<SCRIPT LANGUAGE="VBScript">
Option Explicit

Function ApplyTransform()
Dim objData, objStyle

Set objData = CreateDOM
LoadDOM objData, "EnglishPersianWordDatabase.xml", false

Set objStyle = CreateDOM
LoadDOM objStyle, "EnglishPersianWordDatabase.xsl", true

Document.Open "text/html"
Document.Write objData.TransformNode(objStyle)
End Function

Function CreateDOM()
On Error Resume Next
Dim tmpDOM

Set tmpDOM = Nothing
Set tmpDOM = CreateObject("MSXML2.DOMDocument.6.0")

Set CreateDOM = tmpDOM
End Function

Function LoadDOM(objDOM, strXMLFile, isXSL)
On Error Resume Next

objDOM.Async = False
objDOM.Load strXMLFile
If (objDOM.ParseError.ErrorCode <> 0) Then
MsgBox objDOM.ParseError.Reason
End If

If (isXSL) Then
objDOM.setProperty "AllowXsltScript", true
End If
End Function

</SCRIPT>
</HTML>
Loading

0 comments on commit 3d57eca

Please sign in to comment.