Project

Profile

Help

How to xslt without first line "<?xml...?>"

Added by Anonymous over 18 years ago

Legacy ID: #3368956 Legacy Poster: changhao (changhao)

I want not have the first line <?xml version="1.0" encoding="UTF-8"?> in the result of the xslt. Thank you.


Replies (2)

RE: How to xslt without first line &quot;&lt;?xml...? - Added by Anonymous over 18 years ago

Legacy ID: #3369143 Legacy Poster: Michael Kay (mhkay)

Use <xsl:output omit-xml-declaration="yes"/> Michael Kay

RE: How to xslt without first line &quot;&lt;?xml...? - Added by Anonymous over 18 years ago

Legacy ID: #3369144 Legacy Poster: Kevin Rodgers (notorious_kev)

This is a general XSLT question, not a Saxon question. The answer is: <xsl:output omit-xml-declaration="yes">

    (1-2/2)

    Please register to reply