|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Need 'new line' in list
I am trying to insert a new line in a list in order to obtain this html display: BILL-TO SHIPPER and CONSIGNEE but I keep getting this: BILL-TO SHIPPER and CONSIGNEE I have tried to insert a new line (
) but it doesn't work. I can see the placement is correct in the template 'make-list' as it displays in the right place in the html, but doesn't give a 'new line'. I also tried may other suggestions from the mail list archive and reference books. Thanks in advance. Linda xml - just an example, it has more elements than this: <INVOLVED_PARTY> <INVOLVED_PARTY_QUAL>BILL-TO</INVOLVED_PARTY_QUAL> <INVOLVED_PARTY> <INVOLVED_PARTY> <INVOLVED_PARTY_QUAL>SHIPPER</INVOLVED_PARTY_QUAL> <INVOLVED_PARTY> <INVOLVED_PARTY> <INVOLVED_PARTY_QUAL>CONSIGNEE</INVOLVED_PARTY_QUAL> <INVOLVED_PARTY> <xsl:variable name="list"> <xsl:call-template name="make-list"> <xsl:with-param name="names" select="SHIPMENT_INVOLVED_PARTY/ROW/INVOLVED_PARTY_QUAL_GID"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$list"/> <xsl:template name="make-list"> <xsl:param name="names"/> <xsl:for-each select="$names"> <xsl:value-of select="."/> <xsl:if test="position()!=last()"><xsl:text> </xsl:text> </xsl:if> <xsl:if test="position()=last()-1"> and </xsl:if> </xsl:for-each> </xsl:template> _______________________________________________________ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








