Hi,
I am writing a stylesheet to get "anyname" to be filled in the input text field tag
< input type="text" name="anyname" size="2"/>.
How can it be done in stylesheet ? And also let me know How to Display HTML in XSL style sheet?
Please help.
Hi,
I am writing a stylesheet to get "anyname" to be filled in the input text field tag
< input type="text" name="anyname" size="2"/>.
How can it be done in stylesheet ? And also let me know How to Display HTML in XSL style sheet?
Please help.
Here is the XML file that we want to display...
You may install the latest version of the MS XML parser from the following:
http://msdn.microsoft.com/xml/default.asp
- Run the Msxmlwr.exe file that you downloaded.
- Run the Xmlinst.exe file that is saved under the Winnt\System32 folder.
Code:<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="testHTML.xsl"?> <TABLE> <ROW> <F1>Next one should be in H1 heading</F1> <F2><H1>This is a H1 heading</H1></F2> </ROW> <ROW> <F1>Next one should be Italic</F1> <F2><I>I am italic</I></F2> </ROW> <ROW> <F1>Next one is a link</F1> <F2>Goto <A HREF="http://www.microsoft.com">Microsoft</A></F2> </ROW> </TABLE>
Try adding xsl:output (http://w3schools.com/xsl/el_output.asp)
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" media-type="text/html"/>
<xsl:template match="/">
Bookmarks