Subject: RE: [xsl] Line feeds to breaks From: Aaron Johnson <Aaron2.Johnson@xxxxxxxxx> Date: Wed, 19 Jan 2005 12:23:04 +0000 |
Hi Jarno... <Address> <objectUrn>2182110</objectUrn> <addr>10 GLASHIEBURN AVENUE BRIDGE OF DON ABERDEEN</addr> <postCode>AB22 8UQ</postCode> <startDay>19</startDay> <startMonth>1</startMonth> <startYear>2005</startYear> <endDay/> <endMonth/> <endYear/> <type>TERM - PARENT</type> <telNo/> <timeFrame>present</timeFrame> </Address> The breaks need to go into the <addr> node to put the parts on different lines. I tried 
 but it did not work...thanks for your input. AMJ ...................................................................... Aaron Johnson GUI / XSLT development Academic Technologies Group [ATG] University of the West of England ext: 81051 t: 0117 3281051 www: http://atg.uwe.ac.uk/aaron e: aaron2.johnson@xxxxxxxxx SECURITY POLICY: Please note that ATG will only accept e-mail attachments in the following formats: .asp,.bin,.doc,.gif,.html,.jpg,.mdb,.png, .psd,.shtml,.sdf,.sit,.xls,.xml,.xsd,.xsl,.zip, ...................................................................... This communication is intended solely for the use of the individual(s) to whom it is addressed. Any opinions presented are those of the author and do not necessarily represent the University of the West of England, Bristol. ....................................................................... -----Original Message----- From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx] Sent: 19 January 2005 11:03 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Line feeds to breaks Hi, > Appologies if you have already received this ...our email > system is playing > silly buggers... > > > > I'm having a problem with converting line feeds to html breaks. > > > > Microsoft value is > > > > > Java /Unix value is > > > > > > When the page is transformed, the line breaks are huge depending on > which > value is used and what platform you display the page on. In character data, all line breaks are normalized to #xA <http://localhost/TR/rec-xml/#sec-line-ends>, and the XPath source tree will only contain #xA characters for line breaks. However, if you use character references instead, they're left as is. What does your source look like? Cheers, Jarno This incoming email to UWE has been independently scanned for viruses and any virus detected has been removed using McAfee anti-virus software This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Line feeds to breaks, Jarno.Elovirta | Thread | RE: [xsl] Line feeds to breaks, Jarno.Elovirta |
RE: [xsl] how to call extension fun, Michael Kay | Date | Re: [xsl] Read a txt file, Beatriz Langiano |
Month |