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

PI for associating a sample input with a stylesheet [w

Subject: PI for associating a sample input with a stylesheet [was Re: Xselerator]
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Thu, 19 Jul 2007 17:35:16 +0300
 PI for associating a sample input with a stylesheet [w
Hi Abel,

I see what you mean. I read the message too quickly and I thought you were referring to the xml-stylesheet PI.
I do not see any difficulties to implement this similar with the way we implemented the xml-styelsheet PI support. However, it will be great if instead of an oXygen specific PI we would be able to use something more generic.


I am curious how much interest is in having such a PI. I remember that I was pro having a PI to associate a Relax NG schema with an XML document and there was a strong reaction against making a proposal for such a PI on the Relax NG list. So what people think about such a PI?

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Abel Braaksma (online) wrote:
Thanks for your answer, George,

oXygen detects automatically the xml-stylesheet PI if you try to
execute the transform action on a file and in that case it will ask
you if you want to use that stylesheet for the transformation.

My point wasn't very clear perhaps (and I intermingling with the OP here...). When i write a stylesheet, that stylesheet often has a couple of test XMLs that go with it for unit tests etcetera. Not the other way around: when i write an XML document, it is not defined to run with a particular stylesheet (and often, these documents come from other sources and meddling with them seems inappropriate).

So, what I'd actually like is a way to associate XML files with
stylesheets, not stylesheets with XML files:

<?sample-xml-list test-one.xml test-two.xml ?>

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.ww3...etc
  ....
</xsl:stylesheet>

Something like that (it would be beneficial already if it worked
with one xml file). But I guess, I should post that as an
enhancement request to the Oxygen forum, right?

Cheers,
-- Abel Braaksma

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.