xsl-list
[Top] [All Lists]

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

2006-09-21 09:32:20
"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
























        

        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--