|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSL: Error Detection?
Hi, I have an input XML of which I am interested only in a subset of the nodes for transalting into another XML doc. I have written stylesheets ( and these are substantially large ones ) for the translation. Now the problem is the input XML is generated automatically in which case there might be errors ( in generation ) and some nodes that I am interested in translating may not be generated. However, the input XML will have an "ERROR" subtree as a decendant of the root indicating a failure and detailing the node name, context and error string. Now: I have these constraints: - The Stylesheet is already done and it is an overkill for each node translation to check for the node in the "ERROR" subtree. - Since I am translating only a subset , I will not be interested in the "ERROR" subtree if the nodes that I am translating are not specified in the subtree. - NOTE: It IS possible to change the way,means and mode the input XML reports the error. Goal: Is it possible , with minimum invasion, to make the styleesheet capable of such error detection ?. Thanks, Ashish. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








