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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--