Rajitha Ereddy

Greenhorn
+ Follow
since Nov 26, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajitha Ereddy

Hello EveryBody,
Please any one know there are any tools to generate UML from an XML.
Thanks in Advance
Hi,
I have a problem in xls's that it works
in internet explorer and does not support in netscape.I would be thank full if some body suggest any solution.
Thanks in advance
Sample Code
<xsl:text disable-output-escaping="yes"><INPUT TYPE="Text" NAME="TEST" SIZE="12" maxlength="12" VALUE="</xsl:text><xsl:value-of select="DefaultValues/Test"/><xsl:text disable-output-escaping="yes">"</xsl:text><xsl:if test="$status='true'"> disabled="disabled"</xsl:if><xsl:text disable-output-escaping="yes">></xsl:text>
Hi,
Can anyone help me how to make the control or the short cut keys invisible in a web page.Its like I have few control keys like say ctrl-n,ctrl-0 etc...I dont want the user to see these keys so how do you make them invisible using the Javascript.It would be of great help if anyone can tell me the solution,thanks in advance.
Regards,
Rajitha.
Hi,
Can anyone tell me is there any easy method to write the JSP with the HTML already existing.Thanks in advance.
Regards,
Rajitha.
20 years ago
Hi All,
I have a problem in using the multiple frames in the Xsls.And i want include one xsl in the other.
Are there any samples to refer this situations.
Thanks
Rajju
Hi All,
Good Morning
I have a problem in getting the Values
from a List(Java.util).I have to get specified values for some coditions.I will be thankfull if any body help in
getting the sample of code.
Thanks
Pramod
20 years ago
Hi,
Can anyone help me with my requirement and its urgent please and it goes like this.
Say I have 2 check boxes in a form so when i check that each check box i have to get a text field so that i can send email from that (ie) if i check 1st check box then i get 1st email text field and when i check the 2nd check box then i have to get the 2nd email text field and so after giving these two email ids and when i say submit it has to go to that specified emails along with the check box selected value.
Hope iam clear and would be thankful if anyone could help me out of it and its urgent.
Thanks
Rajitha.
I want to do it on server side using servlets.So How would i have Poceed.
Thanks
Rajitha

Originally posted by Mapraputa Is:
It depends on where do you want to perform a transformation. If you want to do it in browser on client side, then in your frames instead of XXX.htm put XXX.xml. In XML files put a link to XSLT. For example, in �Telephony� case it will look like
main HTML page:
...
<frame name="main" scrolling="no" src="Telephony.htm">
...
Telephony.xml:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="Telephony.xsl"?>
...
But transformation on client side is strongly discouraged by Ajith
To perform it on server side you need an XSLT processor. You can use Xalan, for example, and you can call it either from servlet or from Java Server Page (jsp file). In this case, I believe, your frameset will contain corresponding jsp files, like
<frame name="main" scrolling="no" src="Telephony.jsp">
Did it help?


Hi,
...Has anyone worked with frames and XSLT? I want to include content
from three xsl files (the top, bottom, and middle content) into frames in
another xsl file. In html this would work like this:
<html>
<head>
<title>Frameset - COIN</title>
</head>
<frameset framespacing="0" border="false" frameborder="0" rows="100,*">
<frame name="banner" scrolling="no" noresize target="contents" src="topframe.htm">
<frameset rows="*">
<frameset framespacing="0" border="false" frameborder="0" cols="3%,53%,44%">
<frame name="buttons" scrolling="no" src="Applet.htm">
<frame name="contents" scrolling="no" target="main" src="Defaultframe.htm">
<frame name="main" scrolling="no" src="Telephony.htm">
</frameset>
</frameset>
<noframes>
</noframes>
</frameset>
<frameset>
</frameset>
</html>

The above code would include the 4 html files into 4 different
frames of one screen. But I need to use XSLT instead of just straight HTML.
I have Telephony.xsl,Telephony.xml, TopFrame.xsl,TopFrame.xml and
DefaultFrame.xsl and DefaultFrame.xsl but how do I include these in
HTML or XSL frames. Has anyone done this? Can it be done?
Thanks in advance,
Rajitha
Hi,
I am new to SOAP.I want the to know there are any editors (like xml-spy editors for xml) & books for starter.And how to Start learning SOAP.
Thanks
Rajitha
Have a nice day
Hi Jane Griscti,
Thanks for the code and its working.
Regards,
Rajitha.
Hi Shantanu,
Thanks for the reply and i shall try it out.
Regards,
Rajitha.
Hi,
I have one more doubt in XSL if any one can help i would be thankful to you.Its like i have a table called transaction and the XML for that perticular table is as given:
<Transaction>
<TransactionDate>10/02/1999</TransactionDate>
<TransactionDescription>Interest paid</TransactionDescription>
<Sequence>Transaction Sequence Number</Sequence>
<Amount>50.00</Amount>
<Balance>2000.00</Balance>
</Transaction>

so for this table i want the xsl insuch a way that the alternate rows bgcolors should be diff like if even No: rows are blue in color i want the odd No: rows to be in yellow color so iam doing it using the position method but it is not working and my XSL goes like this:

<xsl:template match="Transaction">
<xsl:variable name="var">
<xsl:choose>
<xsl:when test=" position( ) mod 2 = 0">bgcolor=#FF6600</xsl:when>
<xsl therwise>bgcolor=#FFFFFF</xsl therwise>
</xsl:choose>
</xsl:variable>
<tr valign="top">
<xsl:attribute name="bgcolor"><xsl:value-of select="$var"/></xsl:attribute>
<td width="23%" align="center">
<xsl:value-of select="TransactionDate"/>
</td>
<td width="23%" align="center">
<xsl:value-of select="TransactionDescription"/>
</td>
<td width="23%" align="center">
<xsl:value-of select="Amount"/>
</td>
<td width="23%" align="center">
<xsl:value-of select="Balance"/>
</td>
<td width="40%">
<table border="0" cellspacing="1" cellpadding="1" width="677">
<tr>
<td width="103" height="21" bgcolor="#FFFFFF">
<xsl:value-of select="TransactionDate"/>
<font size="2" face="arial" color="#003366">
<xsl:value-of select="TransactionDate"/>
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
</font>
</td>
<td width="322" height="21" bgcolor="#FFFFFF">
<font size="2" face="arial" color="#003366">
<xsl:value-of select="TransactionDescription"/>
</font>
</td>
<td width="98" height="21" bgcolor="#FFFFFF">
<font size="2" face="arial" color="#003366">
<xsl:value-of select="Amount"/>
</font>
</td>
<td width="101" height="21" bgcolor="#FFFFFF">
<font size="2" face="arial" color="#003366">
<xsl:value-of select="Balance"/>
</font>
</td>
</tr>
<!--</xsl:for-each>-->
</table>
</td>
</tr>
</xsl:template>

So if possible can anyone tell how it can be achieved and i will be very thankful for that.Anyway thanks in advance.
Regards,
Rajitha.
Hi Shantanu,
Thanks a lot and it is working perfectly and so easy way and i have one more doubt in XSL if u can.Its like i have a table called transaction and the XML for that perticular table is as given:
<Transaction>
<TransactionDate>10/02/1999</TransactionDate>
<TransactionDescription>Interest paid</TransactionDescription>
<Sequence>Transaction Sequence Number</Sequence>
<Amount>50.00</Amount>
<Balance>2000.00</Balance>
</Transaction>

so for this table i want the xsl insuch a way that the alternate rows bgcolors should be diff like if even No: rows are blue in color i want the odd No: rows to be in yellow color so iam doing it using the position method but it is not working and my XSL goes like this:

<xsl:template match="Transaction">
<xsl:variable name="var">
<xsl:choose>
<xsl:when test=" position( ) mod 2 = 0">bgcolor=#FF6600</xsl:when>
<xsl therwise>bgcolor=#FFFFFF</xsl therwise>
</xsl:choose>
</xsl:variable>
<tr valign="top">
<xsl:attribute name="bgcolor"><xsl:value-of select="$var"/></xsl:attribute>
<td width="23%" align="center">
<xsl:value-of select="TransactionDate"/>
</td>
<td width="23%" align="center">
<xsl:value-of select="TransactionDescription"/>
</td>
<td width="23%" align="center">
<xsl:value-of select="Amount"/>
</td>
<td width="23%" align="center">
<xsl:value-of select="Balance"/>
</td>
<td width="40%">
<table border="0" cellspacing="1" cellpadding="1" width="677">
<tr>
<td width="103" height="21" bgcolor="#FFFFFF">
<xsl:value-of select="TransactionDate"/>
<font size="2" face="arial" color="#003366">
<xsl:value-of select="TransactionDate"/>
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
</font>
</td>
<td width="322" height="21" bgcolor="#FFFFFF">
<font size="2" face="arial" color="#003366">
<xsl:value-of select="TransactionDescription"/>
</font>
</td>
<td width="98" height="21" bgcolor="#FFFFFF">
<font size="2" face="arial" color="#003366">
<xsl:value-of select="Amount"/>
</font>
</td>
<td width="101" height="21" bgcolor="#FFFFFF">
<font size="2" face="arial" color="#003366">
<xsl:value-of select="Balance"/>
</font>
</td>
</tr>
<!--</xsl:for-each>-->
</table>
</td>
</tr>
</xsl:template>

So if possible can anyone tell how it can be achieved and i will be very thankful for that.Anyway thanks in advance.
Regards,
Rajitha.
Hi,
Is there any option in XML SPY Editor,So that i can allign my code properly.Please help me out in solving this problem.
Thanks
Rajitha