CRexsel Arguments
Output Line Numbers (-l | --lineNumbers)

Normally the output XSL has no information to link individual lines back to the Rexsel source. For example

stylesheet { version "1.0" xmlns "aw" "http://www.hsfr.org.uk/Schema/AntWeave" output { method text version "1.0" omit-xml-declaration yes encoding "UTF-8" } parameter rootChunk parameter startCommentString "'//'" parameter endCommentString "''"

Compiling this using, for example

crexsel tangle.rxsl --lineNumbers

will produce an output showing the line numbers of the original code that produced the XSL output line.

<?xml version="1.0" encoding="UTF-8"?> <!-- Produced using Rexsel compiler on 08/03/2024 01:54:42 --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:aw="http://www.hsfr.org.uk/Schema/AntWeave" version="1.0"> <!-- Line: 6 --> <xsl:output method="text" version="1.0" omit-xml-declaration="yes" encoding="UTF-8"/> <!-- Line: 13 --> <xsl:param name="rootChunk"/> <!-- Line: 14 --> <xsl:param name="startCommentString" select="'//'"/> <!-- Line: 15 --> <xsl:param name="endCommentString" select="''"/> etc.
Copyright 2024 Hugh Field-Richards. All Rights Reserved.