Skip to Main Content

Omit XML prologue in XSLT

User_R0EA7Jun 21 2022 — edited Jun 21 2022

Hi ,
I am trying to omit XML prologue(first line of XML document) and its not working with omit-xml-declaration = "yes".I tried with xslt version 1.0 and 2.0 both. But XML prologue is still getting printed.
Please help
is there any possibility to output empty element as ex: <Subject></Subject>instead of </Subject> in XSLT ?
Please guide

Comments
Post Details
Added on Jun 21 2022
0 comments
12 views