The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by pamkianpour]

Would it be possible to post the file as a zip?

That would solve the problem with the slashes, wouldn't it?

Otherwise, could you email it to me as well?

Pam
import-bot (20211) [Avatar] Offline
#2
Re: person.xsl
[Originally posted by fgrimes]

Pam - send me your e-mail address - Fergal
import-bot (20211) [Avatar] Offline
#3
[Originally posted by fgrimes]

<!-- file: person.xsl -->

<xsl:stylesheet version="1.0">
xmlnssmiliesl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-comsmilieslt" >

<xsl:template match="Person">
<html><head><title>The Person Report</title>
</head><body><center>
<h2>The Person Report</h2>
<table cellpadding='2' cellspacing='1' cols='2' border='1'>
<xsl:apply-templates/>
</table>
</center></body></html>
</xsl:template>

<xsl:template match=<br /> "FirstName|LastName">
<tr><td>
<xsl:if test="name(.)='FirstName'">First Name</xsl:if>
<xsl:if test="name(.)='LastName'">Last Name</xsl:if>
</td><td>
<xsl:value-of select="." /></td></tr>
</xsl:template>

</xsl:stylesheet>
btc3100 (1) [Avatar] Offline
#4
Re: person.xsl