i generate dynamic xsl in a servlet and
because i wont to write in
each table cell a <p><font size="2" face="Aial">
i will to define something like a
CSS in the header :
psxsl.println("<?xml version='1.0'?> <xsl:stylesheet version=\"1.0\" " +
"xmlns:xsl=\" " <xslutput method=\"html\"/>"+
" <xsl:template match=\"/\">" );
psxsl.println("<!-- body{font-family:Arial; font-size:10pt;color:green;}");
psxsl.println("<td> {font-family:Arial; font-size:10pt;color:green;}");
psxsl.println("<hr/> {color:red;}");
psxsl.println("--> </style>");
psxsl.println("</head><body>");
unfortunately has this code no effect!!!!!!
i 'm appreciated, if somebody tell me a correct
way to do that!!
thanks
because i wont to write in
each table cell a <p><font size="2" face="Aial">
i will to define something like a
CSS in the header :
psxsl.println("<?xml version='1.0'?> <xsl:stylesheet version=\"1.0\" " +
"xmlns:xsl=\" " <xslutput method=\"html\"/>"+
" <xsl:template match=\"/\">" );
psxsl.println("<!-- body{font-family:Arial; font-size:10pt;color:green;}");
psxsl.println("<td> {font-family:Arial; font-size:10pt;color:green;}");
psxsl.println("<hr/> {color:red;}");
psxsl.println("--> </style>");
psxsl.println("</head><body>");
unfortunately has this code no effect!!!!!!
i 'm appreciated, if somebody tell me a correct
way to do that!!
thanks