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

Re: Feedback/Corrections requested on using EXSL:docum

Subject: Re: Feedback/Corrections requested on using EXSL:document to generate external file with XSLT 1.0
From: Carlos Araya <carlos.araya@xxxxxxxxx>
Date: Sun, 6 May 2012 06:56:28 -0700
Re:  Feedback/Corrections requested on using EXSL:docum
Martin:

I am using xsltproc which supports the extension according to the
exsl:document page

You are correct, I'll make that change now

Carlos

On May 6, 2012, at 2:20 AM, Martin Honnen wrote:

> Carlos Araya wrote:
>> I have the following fragment to try and generate a separate file on XSLT
1.0. Upgrading to 2.0 is not an option (using established 1.0 stylesheets)
>>
>> Is this correct XSLT? If not can you point me to what I'm doing wrong? I've
searched for EXSL references or coded examples but I couldn't find one and I'm
not 100% sure that EXSL is the solution
>>
>> <xsl:template match="*" mode = "create.options">
>> <exsl:document href="com.apple.ibooks.display-options.xml" indent="yes"
omit-xml-declaration="no">
>> &lt;display_options&gt;
>> &lt;platform name="*"&gt;
>>    &lt;option name="fixed-layout"&gt;true&lt;/option&gt;
>>    &lt;option name="orientation-lock"&gt;landscape-only&lt;/option&gt;
>>    &lt;option name="open-to-spread"&gt;true&lt;/option&gt;
>> &lt;/platform&gt;
>> &lt;/display_options&gt;
>> </exsl:document>
>> </xsl:template>
>
> Well which XSLT 1.0 processor do you use, have you checked that it supports
exsl:document?
> As for an example, see http://exslt.org/exsl/elements/document/index.html.
> As for your code, are you sure you don't want literal result elements (e.g.
<display_options>...</display_options>) instead of text nodes with escaped
markup?
>
>
> --
>
> 	Martin Honnen --- MVP Data Platform Development
> 	http://msmvps.com/blogs/martin_honnen/

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.