[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: outputting <? in resulting XML

Subject: Re: outputting <? in resulting XML
From: "Manuel Montero MID" <manuel.montero@xxxxxxxxxxxxxxxxx>
Date: Wed, 21 Apr 2004 20:48:36 +0200
manuel montero
You could use <xsl:text>&lt;?...


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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.