Project

Profile

Help

Revision 6304fb8b

Added by O'Neil Delpratt 5 months ago

Saxon/C bug fixes and development work

View differences:

latest10/hec/Saxon.C.API/XsltProcessor.h
124 124
     * Set the value of a stylesheet parameter
125 125
     *
126 126
     * @param name  the name of the stylesheet parameter, as a string. For namespaced parameter use the JAXP solution i.e. "{uri}name"
127
     * @param value the value of the stylesheet parameter, or null to clear a previously set value
127
     * @param value the value of the stylesheet parameter, or nullptr to clear a previously set value
128 128
     */
129 129
    void setParameter(const char* name, XdmValue*value);
130 130

  
......
195 195
     * @param  filename - If the filename argument is present then the xsl:message output is appended to the given
196 196
     *                    filename with location cwd+filename
197 197
     */
198
    void setupXslMessage(bool show, const char* filename=NULL);
198
    void setupXslMessage(bool show, const char* filename=nullptr);
199 199

  
200 200

  
201 201
      //!Perform a one shot transformation.
......
203 203
     * The result is stored in the supplied outputfile.
204 204
     *
205 205
     * @param sourcefile - The file name of the source document
206
     * @param stylesheetfile - The file name of the stylesheet document. If NULL the most recently compiled stylesheet is used
206
     * @param stylesheetfile - The file name of the stylesheet document. If nullptr the most recently compiled stylesheet is used
207 207
     * @param outputfile - The file name where results will be stored
208 208
     */
209 209
    void transformFileToFile(const char* sourcefile, const char* stylesheetfile, const char* outputfile); 
......
213 213
     * The result is returned as a string
214 214
     *
215 215
     * @param sourcefile - The file name of the source document
216
     * @param stylesheetfile - The file name of the stylesheet document. If NULL the most recently compiled stylesheet is used
216
     * @param stylesheetfile - The file name of the stylesheet document. If nullptr the most recently compiled stylesheet is used
217 217
     * @return char array - result of the transformation
218 218
     */
219 219
    const char * transformFileToString(const char* sourcefile, const char* stylesheetfile);
......
222 222
     * Perform a one shot transformation. The result is returned as an XdmValue
223 223
     *
224 224
     * @param sourcefile - The file name of the source document
225
     * @param stylesheetfile - The file name of the stylesheet document. If NULL the most recently compiled stylesheet is used
225
     * @param stylesheetfile - The file name of the stylesheet document. If nullptr the most recently compiled stylesheet is used
226 226
     * @return XdmValue - result of the transformation
227 227
     */
228 228
    XdmValue * transformFileToValue(const char* sourcefile, const char* stylesheetfile);
......
323 323

  
324 324
     //! Check for exception thrown.
325 325
	/**
326
	* @return cha*. Returns the exception message if thrown otherwise return NULL
326
	* @return cha*. Returns the exception message if thrown otherwise return nullptr
327 327
	*/
328 328
    const char* checkException();
329 329

  

Also available in: Unified diff