J
jluo
Hi all,
Need some help here. I'm using these in a xsl:
~~~~~~~~~~~~~~~
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl
utput method="html"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"/
<html>
<head>
After transform, the html output is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
~~~~~~~~~
I will need to add a comment before the <!DOCTYPE ... and would like
the HTML output as:
<!-- something as a comment must be added here -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Can anyone please help? What can I do to create this comment? Can
this be done on the client side (xslt, scripting...) or should it be
done on the server side when Java code does the transform?
Any help is really appreciated!
Thanks in advance, Jane
Need some help here. I'm using these in a xsl:
~~~~~~~~~~~~~~~
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"/
<html>
<head>
After transform, the html output is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
~~~~~~~~~
I will need to add a comment before the <!DOCTYPE ... and would like
the HTML output as:
<!-- something as a comment must be added here -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Can anyone please help? What can I do to create this comment? Can
this be done on the client side (xslt, scripting...) or should it be
done on the server side when Java code does the transform?
Any help is really appreciated!
Thanks in advance, Jane