[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Preserve Space in Variable
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
|
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
|