Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

xslt 2 node text replace string

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
    <xsl:output method="xml" indent="no" />

    <xsl:template match="p/text()[substring(., 1, 1) = ' '][preceding-sibling::node()[1][self::sub]]">
      <s />
      <xsl:value-of select="replace(., '^s+', '')" />
    </xsl:template>

    <xsl:template match="@*|node()">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
    </xsl:template>
</xsl:stylesheet>
Comment

PREVIOUS NEXT
Code Example
Javascript :: check screen rotated js 
Javascript :: how to go specific content in react single page by id 
Javascript :: Jasonplaseholder 
Javascript :: react export multiple component from index.js 
Javascript :: discord js send author a dm 
Javascript :: react passport session 
Javascript :: screenfull angular example 
Javascript :: scalling data 1 to 100 in js 
Javascript :: organize api calls react native folder 
Javascript :: js chai setup 
Javascript :: node spawn bash catch errors 
Javascript :: remove duplicates by id 
Javascript :: node.js version change to 6.14.15 windows 
Javascript :: convert js to jquery online 
Javascript :: too many rerenders 
Javascript :: isnumber javascript function 
Javascript :: readonly checkbox angular 
Javascript :: How to assign set a function as Variable 
Javascript :: destructuring interfaces in the most simple way <<Java Script 
Javascript :: ityped extension for react 
Javascript :: destructring global state at one place 
Javascript :: parse curency 
Javascript :: go back to screen with params react native 
Javascript :: react router 6 redirect 
Javascript :: javascript centuries 
Javascript :: return asynchronous result and not undefined 
Javascript :: how to get html paramater in js 
Javascript :: animated progress bar cdn 
Javascript :: express static page 
Javascript :: react native asyncstorage mergeItem 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =