Re: Subress XML declaration in XMLLib
Re: Subress XML declaration in XMLLib
- Subject: Re: Subress XML declaration in XMLLib
- From: Jean-Marie <email@hidden>
- Date: Fri, 3 Jun 2005 10:59:24 +0200
Le 3 juin 2005 à 08:43, Tim Mansour a écrit :
I'm using Satimage's (excellent!) XMLLib to do a xsl
transformation, the output of which is intended to be a plain text
file. At the moment it's including the XML processing instruction:
<?xml version="1.0" encoding="ISO-8859-1"?>
Is there a way to suppress this?
Put the omit-xml-declaration attribute in the output declaration of
your XSLT document.
The omit-xml-declaration attribute specifies whether the XSLT
processor should output an XML declaration; the value must be yes or no.
<xsl:output method="xml" omit-xml-declaration="yes"/>
--
cordialement.
____________________
Jean-Marie Hoornaert
h2o - aide au développement informatique et
formations FileMaker, XML et AppleScript
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden