Does anyone have any VB or VB script examples or reading data from tamino?
I have .aspx pages that allow only one language so I want to avoid having to use the Javascript examples.
Thanks,
Knute Hestness
Does anyone have any VB or VB script examples or reading data from tamino?
I have .aspx pages that allow only one language so I want to avoid having to use the Javascript examples.
Thanks,
Knute Hestness
I figured it out here is the code that I am using to call a tamino record from ASP.NET using VB:
code:
<%
dim query as String
dim dom
dim tamino as object
tamino = Server.CreateObject(βTAMINOX.TaminoX1β)
tamino.Initialize()
tamino.csDatabaseURL(βhttp://131.191.130.128/tamino/dev/permitsβ)
query = β/permit[@caseNumber='β & caseNumber &β']β
dom = tamino.doQuery(query)
dim permitDetail = dom.getElementsByTagName(βdetailβ)β Write the table header
Response.Write(β<table width=β744β border=β0β cellpadding=β2β cellspacing=β0ββ)
Response.Write(β Case Number β& caseNumber &ββ)
dim i as integer
dim numNodes as Integer = permitDetail.lengthDo While i < numNodes
Response.Write (ββ)
Response.Write (permitDetail.item(i).getAttribute(βdescriptionβ))
Response.Write (" : β)
Response.Write (permitDetail.item(i).text)
Response.Write (ββ)
i = i + 1
Loopβ Write the table footer.
Response.Write(β")
%>
Hopefully that will help other people who are doing similar tasksβ¦
Knute