Subject: RE: [xsl] Preserve Space in Variable From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 2 Mar 2004 08:37:53 +0200 |
Hi, > The XML looks like this: > <SIGS> > <SIG> > <TITLE>Standard</TITLE> > <S>Sincerely,<br/><br/><fname /> <lname /><br/><phone_cell > /><br/><email > /><br/><br/><company_info/></S> > </SIG> > <SIG> > <USERID>1</USERID> > <TITLE>Karl 1</TITLE> > <S>Your's Truly:<br/><br/><br/><fullname > /><br/><email/><phone/><br/><company_info/></S> > </SIG> > </SIGS> > > See the <fname /> <lname /> nodes? There is a space there > and I am losing > it after transformation. See xsl:preserve-space <http://www.w3.org/TR/xslt#strip>. In your case just add the S element to the list of whitespace-preserving elements, or you can use <S xml:space="preserve">Sincerely,<br/><br/><fname /> <lname /><br/><phone_cell… Cheers, Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Preserve Space in Variabl, David Carlisle | Thread | RE: [xsl] Executing SQL queries - X, Aitor San Juan |
RE: [xsl] Tricky White Spaces being, Jarno . Elovirta | Date | RE: [xsl] date grouping/sorting pro, Jarno . Elovirta |
Month |