xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] how to omit new lines


Subject: RE: [xsl] how to omit new lines
From: Patrick Moore <patrickm@xxxxxxxxxxx>
Date: Fri, 7 Sep 2001 12:08:37 -0700

try:
	blah:<xsl:value-of select="normalize-space(._"/>

>-----Original Message-----
>From: Dmitri Ilyin [mailto:dmitri.ilyin@xxxxxxxxx]
>Sent: Friday, September 07, 2001 11:57 AM
>To: XSL-List@lists. mulberrytech. com (E-mail)
>Subject: [xsl] how to omit new lines
>
>
>Hi *,
>
>I have simple xml as follows:
>
><text>
>   text
></text>
>
>and simple xsl to them:
>
>....
><xsl:output method="html">
>...
><xsl:template match="text">
>	blah:<xsl:value-of select="."/>
></xsl:template>
>
>I got in output:
>
>.....
>     blah:
>        text
>
>so the result of selection will be outputted in new line, as 
>in xml file.
>
>How can i get it to put it all in one line:
>
>...
>blah: text
>...
>
>Thanks for advise
>
>regards
>
>Dmitri
>     
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor