[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL Output the DocType declaration for DTD on to a new
S<https://stackoverflow.com/questions/3387127/set-html5-doctype-with-xslt>o I am leveraging this article.. https://stackoverflow.com/questions/42047263/add-a-doctype-declaration-on-xsl -ouptut XSL: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" doctype-public="-//Apple//DTD PLIST 1.0//EN" doctype-system="http://www.apple.com/DTDs/PropertyList-1.0.dtd" /> ... XSL code.. .. To output this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> But what I am getting is this (on same line): <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> I know for an XML processor thats just not important, but given that I am going to pop this into an iPhone, I'd like for it be clean & just like the original. Is there something ought to clean up or remove from above XSL? PS: Using XMLSpy Thoughts/ suggestions? As always thanks to the best veterans.. WP, MK, DN and so on.. - A
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|