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

changing value of xi:include's href variable during c

Subject: changing value of xi:include's href variable during compilationg with XSLTPROC
From: Nancy Brandt <nancy_brndt@xxxxxxxxx>
Date: Mon, 22 Oct 2007 03:28:01 -0700 (PDT)
 changing value of xi:include's href variable during  c
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

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

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,

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Current Thread


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.
First Name
Last Name
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.