[oXygen-user] How to associate file relative to project with transformation scenario

Jirka Kosek
Thu Apr 30 09:29:42 CDT 2009


Sorin Ristache wrote:

> scenarios. This switch is necessary because only one scenario (that 
> specifies an XSLT stylesheet) can be associated with an XML file. You 
> cannot save and distribute to other users more than one scenario 
> association for the same XML file. This is true also for the other type 
> of scenarios: you cannot associate more than one scenario (that 
> specifies an XML file) to the same XSLT stylesheet.
> 
> If this is not what you want maybe an example will help me understand 
> your use case.

I want to distribute examples of XML and XSLT files to students of XSLT
class. I have several sample XML documents. For each such XML file I
have several transformations which show different XSLT language
constructs. When student opens some XSLT file he should by able to run
it against corresponding input XML data just by pressing "Apply
Transformation Scenario" button. This is what I would like to accomplish.

I can easily accomplish this on my computer by associating XML file to
each transformation. Problem is that transformation in project file is
identified by absolute path so when I move project file to another
computer associations are lost.

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20090430/3fb59559/attachment.bin 


More information about the oXygen-user mailing list