[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Preserving indentation of first tag when copying XML into HTML?


Subject: Re: [xsl] Preserving indentation of first tag when copying XML into HTML?
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 21 Sep 2006 18:32:03 +0200 (CEST)

"Costello, Roger L." wrote:

  Hi

> Okay, so I thought, "let me obtain the whitespace between the parent
> tag and the Member start tag".

  Making some assumptions, you'll maybe can use something like:

    <xsl:value-of select="
        substring-after(preceding::text()[1], '&_#10;')"/>

  Warning: not tested.

  Regards,

--drkm
























	

	
		
___________________________________________________________________________ 
Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences. 
http://fr.answers.yahoo.com 


Current Thread