This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: ** security problem and link


HI!!!!
I thank for help Kay, Rick, Chris, Dieter and Linda about
the success of my problems.

Now I solve the security problem, and I can see the links
of the html table.

But there is another little question about the link, because
I cannot write all href that calls my servlet.

href would be:

http://localhost:8080/servlet/picInfo?code=A1A&gender=pf&language=English


but the result is:


A semi colon character was expected. Error processing resource 
'file://C:\MyXml\pp.xsl'. Line 13, Position 67


<TD><A 
HREF="http://localhost:8080/servlet/picInfo?code=A1A&gender=pf&language=English"><xsl:value-of 
select="@code"/></A></TD>");
------------------------------------------------------------------^


My xsl code is:


<xsl:for-each select="PFSet/PF">
<TR ALIGN="CENTER">
<TD><A 
HREF="http://localhost:8080/servlet/picInfo?code=A1A&gender=pf&language=English"><xsl:value-of 
select="@code"/></A></TD>");
<TD><xsl:value-of select="@short"/></TD>
</TR>
</xsl:for-each>

Thanks again!!!!!!!!!!!!!!!!!!,
Marcella















>From: Kay Michael <Michael.Kay@icl.com>
>Reply-To: xsl-list@mulberrytech.com
>To: "'xsl-list@mulberrytech.com'" <xsl-list@mulberrytech.com>
>Subject: RE: ** security problem and link
>Date: Wed, 16 Feb 2000 09:36:12 -0000
>
>try something like
>
><TD><A HREF="http://localhost:8080/pic?code={@code}&amp;gender=pf">Click
>me</A></TD>
>
> > I have a table within my xsl file:
> >
> >
> > <table border="1" width="75%" align="center"
> > background="BACKGROUND.gif">
> > <TH>PF Code</TH>
> > <TH>PF Descr</TH>
> > <xsl:for-each select="PFSet/PF">
> > <TR ALIGN="CENTER">
> > <TD><xsl:value-of select="@code"/></TD>
> > <TD><xsl:value-of select="@short"/></TD>
> > </TR>
> > </xsl:for-each>
> > </table>
> >
> >
> > I would like to trasform <TD><xsl:value-of select="@code"/></TD>
> > in link string. In html I can do
> > <TR>
> > <TD><A HREF=
> > "http://localhost:8080/pic?code=001&gender=pf&language=languag
>e"> click me
></A></TD></TR>
>
>and in xsl???
>
>I don't kwon how to do......
>Thanks again !!!!!!!
>Marcella
>
>
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]