From f420ded7f5d0906ac3777cc3db1100a054edde00 Mon Sep 17 00:00:00 2001 From: Jostein Austvik Jacobsen Date: Tue, 27 May 2014 15:52:09 +0200 Subject: [PATCH] side-by-side xml diff fixes #12 --- .../content/xml/xproc/evaluate/evaluate.xpl | 1 - .../xml/xproc/report/report-to-html.xsl | 121 ++++++++++++++---- 2 files changed, 93 insertions(+), 29 deletions(-) diff --git a/xprocspec/src/main/resources/content/xml/xproc/evaluate/evaluate.xpl b/xprocspec/src/main/resources/content/xml/xproc/evaluate/evaluate.xpl index 55404c0..5962dda 100644 --- a/xprocspec/src/main/resources/content/xml/xproc/evaluate/evaluate.xpl +++ b/xprocspec/src/main/resources/content/xml/xproc/evaluate/evaluate.xpl @@ -244,7 +244,6 @@ - diff --git a/xprocspec/src/main/resources/content/xml/xproc/report/report-to-html.xsl b/xprocspec/src/main/resources/content/xml/xproc/report/report-to-html.xsl index 1642faf..09f5d95 100644 --- a/xprocspec/src/main/resources/content/xml/xproc/report/report-to-html.xsl +++ b/xprocspec/src/main/resources/content/xml/xproc/report/report-to-html.xsl @@ -1,7 +1,7 @@ + xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:f="http://www.daisy.org/ns/xprocspec/xslt-internal"> @@ -31,13 +31,16 @@ color:blue; } .pp-attr-name{ - color:orange; + color:#8A8A00; } .pp-attr-value{ color:#FF4F4F; } .pp-document-element{ background-color:#F5F5F5; + } + .diff{ + background-color:pink; } @@ -273,12 +276,16 @@ - + + + - + + + @@ -641,44 +648,70 @@ + - + + + + - -
+ +
+                        
+                            
+                        
+                        
+                    

< - - - - - - xmlns= - - " - - " + + + + + + - + + + xmlns + + + + + + = + + " + + " + + + + - - - = - - - " - - " + + + + + + + = + + + " + + " + @@ -688,10 +721,12 @@ > + + @@ -720,12 +755,19 @@
+ -
+
+                    
+                        
+                    
+                    
+                
+ @@ -740,7 +782,9 @@
- + + +
@@ -749,4 +793,25 @@
+ + + + + + + + + + + + + + + + + + + +