• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subress XML declaration in XMLLib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Subress XML declaration in XMLLib
      • From: Christopher Nebel <email@hidden>
References: 
 >Subress XML declaration in XMLLib (From: Tim Mansour <email@hidden>)

  • Prev by Date: Re: QXPScriptingAdditions
  • Next by Date: More weird Unicode things
  • Previous by thread: Subress XML declaration in XMLLib
  • Next by thread: Re: Subress XML declaration in XMLLib
  • Index(es):
    • Date
    • Thread