Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] changing value of xi:include's href variable during compilationg with XSLTPROC

From: Nancy Brandt <nancy_brndt@--------->
To:
Date: 10/22/2007 10:29:00 AM
Hi guys!

I am using XSLTPROC and FOP 0.93 to compile
XML files. Because I use entities and macros within
the text, the compilation is a two-step process:

1) Creating an <filename>_online.xml file in which all
the entities and macros are processed and transformed
into XML-formatted text/inserting graphics.

2) Creating a <filename>.fo file out of the
<filename>_online.xml file. 

And now the tricky part: the xi:include mechanism. If
I call an XML file within another file via xi:include,
the compiler does not turn the included file to
<filename>_online.xml.

This is a problem if the called file contains macros,
for example a macro for inserting graphics. The macro
is not processed, and it does
 not turn to a
mediaobject.

What I would like to have is a kind of a
template/mechanism which will automatically substitute
all instances of xi:include href="myfile.xml" with
xi:include href="myfile_online.xml" during the first
step of compilation with XSLTPROC. 

Is it possible to create such?
 Please, advise...

Thank you very much in advance!!!!
My best wishes,
Nancy

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent