Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: nobreak in XSL

From: Kelly White <kellywhite@-------.-->
To: NULL
Date: 12/1/2004 2:01:00 PM
Ralf Ziller wrote:
> Is there any way to tell the parser (.Net) not to indent certain parts in 
> the final document?
> For example <td><img><xsl:attribute name="href"><xsl:value-of 
> select="/href"></xsl:attribute></img></td>
> should be translated in one line. The browsers are a bit choosy when it 
> comes to display such constructs with or without linbreaks in the markup 
> (although they should not). There will be a space which can break the 
> design.
> I know I could go without indenting at all but I'd like to have some pretty 
> code if possible :-) 
> 
> 
You could use this instead

<td><img href="{/href}"/></td>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent