prabhu palanisamy

Greenhorn
+ Follow
since Oct 30, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by prabhu palanisamy

VML is the right approach.
There are tags like v:image and attributes for it like gain ,cropping, contrast, brightness, gamma, and grayscale it also supports scripting model.
but these corresponds to MS IE 5.0 or greater.
Hope this gives a lead to start...
Prabhu
:roll:
VML
Vector markup language is based on scalable vector graphics which gives provision for drawing objects in html.It has lot of features for painting high precision lines,rect,circles and diffrent fonts.
At present only IE 5.0 greater supports VML .I'm developing a tutorial for VML,once i'm through with it, i'll let u know the URL.
any queries write to [email protected] [email protected]
i'm eligible for the above
my contact id [email protected]
23 years ago
hi
0while writing in browser using asp include
like this response.write(server.htmlencode(the xml value))
this will work.
i also faced the above problem
use xsl:script to get alternate bg colors
regards
prabhu
hi
i want that function to be used in xpath,i think that those functions are used in xsl:value-of tag.will this work in xpath ie in xsl:for-each tag
regards
prabhu
hi all,
i need to write an xpath which is similar to like in sql.any operator is there for it.suppose i need to fetch name starting with 'pra' or ending with 'bhu'.is there any option there in xpath,if not how to do??
thanx in advance,
regards,
prabhu
hi all
i'm also generating the xml files for tables in databases,so unnecessary fetching of databases records is avoided,but the problem which i face is that ,once i update a record or insert i do the same in xml document.the most recently updated xml document is not fetched,its fetching what is in the cache,is there setting in iis to bring the xmlfiles from server each and every time and not from proxy.i hope i'll get a solution
bye
prabhu
hi all,

is it possible to create and append dynamic xsl element or nodes in loaded xsl through javascript at runtime .we have succeeded in creating and appending dynamically at runtime but it is not considering it as xsl tags.is it possible to do the above??
or any anychanges in namespaces or would i have to include them while creating.
note:dynamic deletion of xsl nodes succeeded then why not insertion??
thanx in advance
regards,
prabhu
hi
hope this works.
i have removed the dtd.
your xml document
<?xml version="1.0" standalone="yes"?>
<CATALOGS>
<BOOK>
<BOOKNAME>clouds</BOOKNAME>
<AUTHORNAME>jees auth</AUTHORNAME>
<ISBN>1-1200-098-78</ISBN>
<PUBS>work press</PUBS>
<PAGES>393</PAGES>
<PRICE>
<ATTLISTPRICECUURENCY>46.98</ATTLISTPRICECUURENCY>
</PRICE>
</BOOK>
<BOOK>
<BOOKNAME>ASP</BOOKNAME>
<AUTHORNAME>RAT</AUTHORNAME>
<ISBN>2-23-78-98-9000</ISBN>
<PUBS>work press</PUBS>
<PAGES>390</PAGES>
<PRICE>
<ATTLISTPRICECUURENCY>789.00</ATTLISTPRICECUURENCY>
</PRICE>
</BOOK>
</CATALOGS>
and the html file is

<html>
<head>
<SCRIPT LANGUAGE="JAVASCRIPT">
function loadxmldata()
{
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async=false;
xmlDoc.load("catalogs.xml");
alert("hi");
alert("root node name :"+xmlDoc.documentElement.nodeName);
alert("BOOK1:" +xmlDoc.documentElement.firstChild.nodeName);
alert("book1: another form "+xmlDoc.documentElement.childNodes(0).nodeName);
alert("BOOK2:" +xmlDoc.documentElement.childNodes(0).nodeName);
alert("child node length :"+xmlDoc.childNodes.length);
alert("book1 xml :"+xmlDoc.documentElement.childNodes(0).xml);
alert("length of book node :"+xmlDoc.documentElement.childNodes(1).xml);
alert("length of book1 "+xmlDoc.documentElement.childNodes(0).childNodes.length);
alert("length of book2 "+xmlDoc.documentElement.childNodes(1).childNodes.length);
for(i=0;i<xmlDoc.documentElement.childNodes.length;i++)
{
for(j=0;j<xmlDoc.documentElement.childNodes(i).childNodes.length;j++)
{
alert("book name :"+i+" "+xmlDoc.documentElement.childNodes(i).childNodes(j).nodeName+" nodevalue : "+xmlDoc.documentElement.childNodes(i).childNodes(j).text);
}
}
}
</SCRIPT>
<TITLE>BOOK NAMES ALERT AND PRINT</TITLE>
</head>
<BODY bgcolor="red" onload=loadxmldata();>

<DIV ID="d" STYLE="font-weight:bold; color:white; font-size:16">
B O O K 1 NAME:
<SPAN ID="book1" STYLE="color ink"></SPAN>
</DIV>
</BODY>
</html>
bye
prabhu
hi prasad,
this xsl will work
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" xmlns:fo="http://www.w3.org/TR/WD-xsl/FO" result-ns="fo">
<xsl:template match="/">
<html>
<head><title>My address book</title> </head>
<body >
<h2> My Address Book on the Net2k</h2>
<xsl:for-each select = "addressbook/address">
<h5>hello<xsl:value-of select="name" /></h5>
</xsl:for-each>
<table align ="center" border="2">
<tr>
<th>Name</th>
<th>Phone Number</th>
</tr>
<xsl:for-each order-by="+ name " select ="addressbook/address">
<tr>
<td><xsl:value-of select="name" /> </td>
<td><xsl:value-of select="phone" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
small change is that it is xsl:template and not xml:template
regards,
prabhu.
hi all
i would like to run some xml pages in netscape,what parser should i use to embed in javascript to open and manipulate xml files.at present i'm using microsoft xmldom in script to manipulate xml files.
explanatory examples will very helpful me to proceed.
regards,
prabhu
hi vivek,
let me first list down the advantages with which i'll tell the applications,
1.platform independent,with a commom set DTD different set of systems and companies communicate.
**** It does'nt matter what type of database in use,everything will be in xml files,so all our operations will be to that xml files.so the heirarchy will be database->business rules->xml->client pages. so that every function will not go to db,which improves performance.it may hold for any kind of db software.
2.searching,it is definitely going to provide a efficient way out.
*** now since all are user defined tags,there will be some meaning,so searches can be specific and fast
3.then customized web pages,bcoz content and format or separated,so we can give customized ,preferred data to user.
xml and xsl.
4.and much more CDF,OSD,OFX,OTP,EDI
5.some experts predict if xml used properly,it will be the database for the web.
i hope this will be tiny contribution from me,for you to start
bye
hi neeraj,

change your xsl file like this
now your lame will be bold.
xml won't render html tags,it'll display as such.
<xsl:template match="lname">
<strike><b>
<xsl:value-of select="."/>
</strike><b>
</xsl:template>
</xsl:stylesheet>
bye
hi sameer,
thanx for ur response,i cleared my problem,the problem was having one more xerces.jar.now its fine.
i'll surely share my experience
cheers,
prabhu.