|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using doc( ) to get a second input file
At 2015-04-14 20:15 +0000, Craig Sampson craig.sampson@xxxxxxx wrote:
I've tried to solve the problem two different ways, but neither works. First I tried adding a xpath specification to the doc function so that the returned XML would start at the element I was interested in, like so: That should have worked! If you spelled the element incorrectly you would have successfully returned zero nodes, but if your XPath address is correct, then I cannot see why the function would fail. What error do you get? I also tried a fragment specification "#actionSet" but this also failed. Yes, I would expect that to fail as that is not XPath syntax. I then tried to kick the second input files root element out of my root template with a test for ancestor-or-self::casActions and a test for descendant-or-self::casActions. But neither of these tests worked on the fetched second file. Remember the document element is a direct child of the root node, so you don't need to go further. Any help would be appreciated in solving this problem. Go back to your attempts to use XPath after the doc() function and try and figure out what is going on there. I hope this helps. . . . . . . Ken
|
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
|

Cart








