[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: outputting <? in resulting XML
You could use <xsl:text><?... Manuel ----- Original Message ----- From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, April 21, 2004 7:28 PM Subject: RE: outputting <? in resulting XML > > -----Original Message----- > > From: Jasthi, Siva R. [mailto:siva.jasthi@xxxxxxxxxx] > > > > Hi, > > > I am trying to convert a source XML to a resulting XML that confirms to > > SchemaML (Microsoft Office 2003 XML). > > > > > > I need to have the following line in the resulting XML. > > > > <?mso-application progid="Excel.Sheet"?> > > > > <xsl:processing-instruction name="mso-application"> > progid="Excel.Sheet" > </xsl:processing-instruction> > > > > > > > My stylesheet snippet looks as follows. > > > > > > <xsl:template match="/"> > > > > <?mso-application progid="Excel.Sheet" ?> > > Won't work, because the PI will be considered to be part of the stylesheet > instead of the result tree. Since it is used for nothing, it's just dropped. > > > Hope this helps! > > Cheers, > > Andreas
|
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
|