XML created date

Oxygen general issues.
tom_maslen
Posts: 2
Joined: Fri Mar 11, 2011 5:18 pm

XML created date

Post by tom_maslen »

Hello,

Is it possible using the Oxygen environment variables (or something else) to find out what the created date is for an XML file?

I'm transforming XML into HTML, and need to set the created date meta data field.

Many thanks,
Tom Maslen.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XML created date

Post by sorin_ristache »

Hello,

I understand that you need the created date stored in the filesystem for a file and use it in the XSLT stylesheet for setting a meta data field in the HTML output. In that case you have to find the created date with a Java extension called from your XSLT stylesheet that you must register as extension in the XSLT transformation scenario (the Extensions button).

Any environment variable is also available in Oxygen but:

1. There is no environment variable for the created date of a specific file (unless you create such a variable yourself in the environment before starting Oxygen).

2. The environment variables are available in the Oxygen dialog boxes as Oxygen editor variables usually for composing file names like the input and output files of a transformation, the input and output files of an external tool, the name of the schema file in a validation scenario, etc.


Regards,
Sorin
Post Reply