Skip to content

srcML/XSLT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

XSLT

A collection of XSLT transformations for srcML.

The XSLT is written from the perspective of a single source-code file. When used with the srcML client srcml, the XSLT is individually applied to each file in an archive.

Replace Name

Replace the name. Full name must match.

Use replaceName.xsl

  • prevname - Current name
  • newname - Replaced name

After download of replaceName.xsl, sample command to replace foo with bar in the current directory tree:

srcml . --xslt replaceName.xsl \
        --xslt-param prevname="foo" \
        --xslt-param newname="bar" \
        | srcml --to-dir .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages