 |
 |
 |
Hello everyone,
This may take a bit of explanation to describe what I am trying to
solve.
For the sake of brevity, here is how best I can ask the question
without dumping a bunch of xml and xslt rules.
Here's my command line
java xalanjava cciproduct.xml cci.xsl cciplan.txt
If you import some xml like this in cci.xsl
<xsl:apply-templates select="document('editionszones.xml')"/>
and start matching nodes inside this external xml to determine
multiple file names
<xalan:open file="{$productdate}{$productname}{$zone}{$edition}.txt"/>
<xalan:write file="{$productdate}{$productname}{$zone}{$edition}.txt"
method="text">
<xsl:apply-templates/>
</xalan:write>
the variables were values derived from the external xml.
The problem is the <xsl:apply-templates/> rule inside the
<xalan:write>.
How can I now start matching the xml that is contained in the xml I
pointed to in my command
line, cciproduct.xml ? Once I start matching nodes from the imported
xml, I cannot create any
rules to find my way back to the xml in cciproduct.xml. The root
element of my document is that of the
imported xml editionszones.xml.
Hope my explanation is clear enough, I would be happy to provide any
additional code if it will help.
thanks
jeff culler
|
 | 

|  |
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.
|  |
| |
 |
 |
 |