[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] combining multiple documents
This question relates to my comments a month or two ago. I have a
document:
main.xml <?xml-stylesheet ... > <doc file="ext.xml"> <content> ... </content> </doc> And another using the same schema: ext.xml <?xml-stylesheet ... > <doc> <content> ... </content> </doc> and I have an XSL transformation that understands everything in <doc> except the file attribute. The transform works on files without the file attribute. I had hoped that the sequence ... <apply-template/> <apply-template select="doc(@file)"/> ... In the XSL transform would do the trick, but it does not. The transformation of main.xml returns the transformed ext.xml and the content of main.xml is ignored. Michael suggested earlier that the transformation of the @file (ext.xml in this case) would have to reach into the "parent" document explicitly to pull out the definitions (my wording, not his). I've tried a number of things but have not been able to solve the problem. I am missing something obvious? Sincerely, Steven
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|