[xml] Line numbers and XInclude


After performing XInclude processing is there any way of identifying which nodes in the tree came from which file originally?

The reason I ask is that it can be convenient to have file and line number information for error messages, but it seems that XInclude will result in a document containing nodes with line numbers that are from a different file, leading to user confusion.

Is there any workaround for this other than implementing XInclude resolution "by hand"?

Best regards,


Print XML with Prince!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]