Re: [xslt] xsltproc docbook and user.header.navigation handling



Hi

> This is a fragment of what I have in the stylsheet that used to work:
> <xsl:template name="user.header.navigation">      <![CDATA[   <table 
> width="100%" border="0" cellpadding="0" cellspacing="0">
> <tr>
>  <td class="logoCell" width="400" height="80" valign="top">
>   <table width="400" border="0" cellpadding="0" cellspacing="0">
>    <tr>
> ......rest clipped
> ]]>
> </xsl:template>

keep it simple:

<xsl:template name="user.header.navigation">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td class="logoCell" width="400" height="80" valign="top">
  				<table width="400" border="0" cellpadding="0" cellspacing="0">
    					<tr>
			......rest clipped
</xsl:template>

make sure to use valid xhtml (that is, your html should be valid xml,
hence write <br/> instead of <br> etc)

Shaun is right, your stylesheet _should_ never have worked the
way it was, that is , it should output escaped entities like &lt;

gluck,
*-pike
==========
Signature #1
==========




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]