ÿþ< ? x m l   v e r s i o n = " 1 . 0 "   e n c o d i n g = " U T F - 1 6 "   s t a n d a l o n e = " y e s " ? >  
 < x s l : s t y l e s h e e t   d o c : d u m m y - f o r - x m l n s = " "   c a c : d u m m y - f o r - x m l n s = " "   c b c : d u m m y - f o r - x m l n s = " "   c c t s : d u m m y - f o r - x m l n s = " "   s d t : d u m m y - f o r - x m l n s = " "   u d t : d u m m y - f o r - x m l n s = " "   x s : d u m m y - f o r - x m l n s = " "   v e r s i o n = " 1 . 0 "   x m l n s : x s l = " h t t p : / / w w w . w 3 . o r g / 1 9 9 9 / X S L / T r a n s f o r m "   x m l n s : s c h = " h t t p : / / w w w . a s c c . n e t / x m l / s c h e m a t r o n "   x m l n s : i s o = " h t t p : / / p u r l . o c l c . o r g / d s d l / s c h e m a t r o n "   x m l n s : d o c = " u r n : o a s i s : n a m e s : s p e c i f i c a t i o n : u b l : s c h e m a : x s d : C r e d i t N o t e - 2 "   x m l n s : c a c = " u r n : o a s i s : n a m e s : s p e c i f i c a t i o n : u b l : s c h e m a : x s d : C o m m o n A g g r e g a t e C o m p o n e n t s - 2 "   x m l n s : c b c = " u r n : o a s i s : n a m e s : s p e c i f i c a t i o n : u b l : s c h e m a : x s d : C o m m o n B a s i c C o m p o n e n t s - 2 "   x m l n s : c c t s = " u r n : o a s i s : n a m e s : s p e c i f i c a t i o n : u b l : s c h e m a : x s d : C o r e C o m p o n e n t P a r a m e t e r s - 2 "   x m l n s : s d t = " u r n : o a s i s : n a m e s : s p e c i f i c a t i o n : u b l : s c h e m a : x s d : S p e c i a l i z e d D a t a t y p e s - 2 "   x m l n s : u d t = " u r n : u n : u n e c e : u n c e f a c t : d a t a : s p e c i f i c a t i o n : U n q u a l i f i e d D a t a T y p e s S c h e m a M o d u l e : 2 "   x m l n s : x s = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a " >  
 < ! - - I m p l e m e n t e r s :   p l e a s e   n o t e   t h a t   o v e r r i d i n g   p r o c e s s - p r o l o g   o r   p r o c e s s - r o o t   i s    
         t h e   p r e f e r r e d   m e t h o d   f o r   m e t a - s t y l e s h e e t s   t o   u s e   w h e r e   p o s s i b l e .   T h e   n a m e   o r   d e t a i l s   o f    
         t h i s   m o d e   m a y   c h a n g e   d u r i n g   1 Q   2 0 0 7 . - - >  
  
  
 < ! - - P H A S E S - - >  
  
  
 < ! - - P R O L O G - - >  
 < x s l : o u t p u t   m e t h o d = " x m l "   e n c o d i n g = " u t f - 8 "   / >  
  
 < ! - - K E Y S - - >  
  
  
 < ! - - D E F A U L T   R U L E S - - >  
  
  
 < ! - - M O D E :   S C H E M A T R O N - F U L L - P A T H - - >  
 < ! - - T h i s   m o d e   c a n   b e   u s e d   t o   g e n e r a t e   a n   u g l y   t h o u g h   f u l l   X P a t h   f o r   l o c a t o r s - - >  
 < x s l : t e m p l a t e   m a t c h = " * "   m o d e = " s c h e m a t r o n - g e t - f u l l - p a t h " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " s c h e m a t r o n - g e t - f u l l - p a t h "   / >  
 < x s l : t e x t > / < / x s l : t e x t >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n a m e s p a c e - u r i ( ) = ' ' " > < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : t e x t > * : < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " l o c a l - n a m e ( ) "   / >  
 < x s l : t e x t > [ n a m e s p a c e - u r i ( ) = ' < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e s p a c e - u r i ( ) "   / >  
 < x s l : t e x t > ' ] < / x s l : t e x t >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : v a r i a b l e   n a m e = " p r e c e d i n g "   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ l o c a l - n a m e ( ) = l o c a l - n a m e ( c u r r e n t ( ) ) & # x A ; 	     	 	                                                           a n d   n a m e s p a c e - u r i ( )   =   n a m e s p a c e - u r i ( c u r r e n t ( ) ) ] ) "   / >  
 < x s l : t e x t > [ < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " 1 +   $ p r e c e d i n g "   / >  
 < x s l : t e x t > ] < / x s l : t e x t >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " @ * "   m o d e = " s c h e m a t r o n - g e t - f u l l - p a t h " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " s c h e m a t r o n - g e t - f u l l - p a t h "   / >  
 < x s l : t e x t > / < / x s l : t e x t >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n a m e s p a c e - u r i ( ) = ' ' " > @ s c h : s c h e m a < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : t e x t > @ * [ l o c a l - n a m e ( ) = ' < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " l o c a l - n a m e ( ) "   / >  
 < x s l : t e x t > '   a n d   n a m e s p a c e - u r i ( ) = ' < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e s p a c e - u r i ( ) "   / >  
 < x s l : t e x t > ' ] < / x s l : t e x t >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - M O D E :   S C H E M A T R O N - F U L L - P A T H - 2 - - >  
 < ! - - T h i s   m o d e   c a n   b e   u s e d   t o   g e n e r a t e   p r e f i x e d   X P a t h   f o r   h u m a n s - - >  
 < x s l : t e m p l a t e   m a t c h = " n o d e ( )   |   @ * "   m o d e = " s c h e m a t r o n - g e t - f u l l - p a t h - 2 " >  
 < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " >  
 < x s l : t e x t > / < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e ( . ) "   / >  
 < x s l : i f   t e s t = " p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] " >  
 < x s l : t e x t > [ < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / >  
 < x s l : t e x t > ] < / x s l : t e x t >  
 < / x s l : i f >  
 < / x s l : f o r - e a c h >  
 < x s l : i f   t e s t = " n o t ( s e l f : : * ) " >  
 < x s l : t e x t   / > / @ < x s l : v a l u e - o f   s e l e c t = " n a m e ( . ) "   / >  
 < / x s l : i f >  
 < / x s l : t e m p l a t e >  
  
 < ! - - M O D E :   G E N E R A T E - I D - F R O M - P A T H   - - >  
 < x s l : t e m p l a t e   m a t c h = " / "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   / >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   m o d e = " g e n e r a t e - i d - f r o m - p a t h " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   / >  
 < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( ' . t e x t - ' ,   1 + c o u n t ( p r e c e d i n g - s i b l i n g : : t e x t ( ) ) ,   ' - ' ) "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " c o m m e n t ( ) "   m o d e = " g e n e r a t e - i d - f r o m - p a t h " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   / >  
 < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( ' . c o m m e n t - ' ,   1 + c o u n t ( p r e c e d i n g - s i b l i n g : : c o m m e n t ( ) ) ,   ' - ' ) "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " g e n e r a t e - i d - f r o m - p a t h " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   / >  
 < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( ' . p r o c e s s i n g - i n s t r u c t i o n - ' ,   1 + c o u n t ( p r e c e d i n g - s i b l i n g : : p r o c e s s i n g - i n s t r u c t i o n ( ) ) ,   ' - ' ) "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " @ * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   / >  
 < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( ' . @ ' ,   n a m e ( ) ) "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   p r i o r i t y = " - 0 . 5 " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " p a r e n t : : * "   m o d e = " g e n e r a t e - i d - f r o m - p a t h "   / >  
 < x s l : t e x t > . < / x s l : t e x t >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( .   |   . . / n a m e s p a c e : : * )   =   c o u n t ( . . / n a m e s p a c e : : * ) " >  
 < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( ' . n a m e s p a c e : : - ' , 1 + c o u n t ( n a m e s p a c e : : * ) , ' - ' ) "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( ' . ' , n a m e ( ) , ' - ' , 1 + c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( ) = n a m e ( c u r r e n t ( ) ) ] ) , ' - ' ) "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - M O D E :   G E N E R A T E - I D - 2   - - >  
 < x s l : t e m p l a t e   m a t c h = " / "   m o d e = " g e n e r a t e - i d - 2 " > U < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " * "   m o d e = " g e n e r a t e - i d - 2 "   p r i o r i t y = " 2 " >  
 < x s l : t e x t > U < / x s l : t e x t >  
 < x s l : n u m b e r   l e v e l = " m u l t i p l e "   c o u n t = " * "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " n o d e ( ) "   m o d e = " g e n e r a t e - i d - 2 " >  
 < x s l : t e x t > U . < / x s l : t e x t >  
 < x s l : n u m b e r   l e v e l = " m u l t i p l e "   c o u n t = " * "   / >  
 < x s l : t e x t > n < / x s l : t e x t >  
 < x s l : n u m b e r   c o u n t = " n o d e ( ) "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " @ * "   m o d e = " g e n e r a t e - i d - 2 " >  
 < x s l : t e x t > U . < / x s l : t e x t >  
 < x s l : n u m b e r   l e v e l = " m u l t i p l e "   c o u n t = " * "   / >  
 < x s l : t e x t > _ < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " s t r i n g - l e n g t h ( l o c a l - n a m e ( . ) ) "   / >  
 < x s l : t e x t > _ < / x s l : t e x t >  
 < x s l : v a l u e - o f   s e l e c t = " t r a n s l a t e ( n a m e ( ) , ' : ' , ' . ' ) "   / >  
 < / x s l : t e m p l a t e >  
 < ! - - S t r i p   c h a r a c t e r s - - >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   / >  
  
 < ! - - S C H E M A   M E T A D A T A - - >  
 < x s l : t e m p l a t e   m a t c h = " / " >  
 < S c h e m a t r o n >  
 < I n f o r m a t i o n > C h e c k i n g   O I O U B L - 2 . 0 2   C r e d i t N o t e ,   2 0 1 1 - 1 2 - 0 1 ,   V e r s i o n   1 . 3 < / I n f o r m a t i o n >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 9 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 3 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 4 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 5 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 6 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 7 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 8 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 1 9 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 0 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 1 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 2 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 3 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 4 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 5 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 6 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 7 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 8 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 2 9 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 3 0 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 3 1 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 3 2 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 3 3 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 3 4 "   / > < x s l : a p p l y - t e m p l a t e s   s e l e c t = " / "   m o d e = " M 3 5 "   / >  
 < / S c h e m a t r o n >  
 < / x s l : t e m p l a t e >  
  
 < ! - - S C H E M A T R O N   P A T T E R N S - - >  
  
  
 < ! - - P A T T E R N   a b s t r a c t s 2 - - >  
 < x s l : v a r i a b l e   n a m e = " A c c o u n t T y p e "   s e l e c t = " ' , 1 , 2 , 3 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A c c o u n t T y p e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : a c c o u n t t y p e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A c c o u n t T y p e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U N _ A d d r e s s F o r m a t "   s e l e c t = " ' , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U N _ A d d r e s s F o r m a t _ l i s t I D "   s e l e c t = " ' U N / E C E   3 4 7 7 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U N _ A d d r e s s F o r m a t _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A d d r e s s F o r m a t "   s e l e c t = " ' , S t r u c t u r e d D K , S t r u c t u r e d I D , S t r u c t u r e d L a x , S t r u c t u r e d R e g i o n , U n s t r u c t u r e d , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A d d r e s s F o r m a t _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A d d r e s s F o r m a t _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A d d r e s s T y p e "   s e l e c t = " ' , H o m e , B u s i n e s s , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A d d r e s s T y p e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A d d r e s s T y p e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A l l o w a n c e "   s e l e c t = " ' , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 , 1 1 , 1 2 , 1 3 , 1 4 , 1 5 , 1 6 , 1 7 , 1 8 , 1 9 , 2 0 , 2 1 , 2 2 , 2 3 , 2 4 , 2 5 , 2 6 , 2 7 , 2 8 , 2 9 , 3 0 , 3 1 , 3 2 , 3 3 , 3 4 , 3 5 , 3 6 , 3 7 , 3 8 , 3 9 , 4 0 , 4 1 , 4 2 , 4 3 , 4 4 , 4 5 , 4 6 , 4 7 , 4 8 , 4 9 , 5 0 , 5 1 , 5 2 , 5 3 , 5 4 , 5 5 , 5 6 , 5 7 , 5 8 , 5 9 , 6 0 , 6 1 , 6 2 , 6 3 , 6 4 , 6 5 , 6 6 , 6 7 , 6 8 , 6 9 , 7 0 , 7 1 , 7 2 , 7 3 , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A l l o w a n c e _ l i s t I D "   s e l e c t = " ' U N / E C E   4 4 6 5 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " A l l o w a n c e _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C a t D o c T y p e "   s e l e c t = " ' , B r o c h u r e , D r a w i n g , P i c t u r e , P r o d u c t S h e e t , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C a t D o c T y p e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : c a t a l o g u e d o c u m e n t t y p e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C a t D o c T y p e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C a t A c t i o n "   s e l e c t = " ' , U p d a t e , D e l e t e , A d d , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C a t A c t i o n _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : c a t a l o g u e a c t i o n c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C a t A c t i o n _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C o u n t r y C o d e "   s e l e c t = " ' , A F , A D , A E , A G , A I , A L , A M , A N , A O , A Q , A R , A S , A T , A U , A W , A X , A Z , B A , B B , B D , B E , B F , B G , B H , B I , B J , B L , B M , B N , B O , B R , B S , B T , B V , B W , B Y , B Z , C A , C C , C D , C F , C G , C H , C I , C K , C L , C M , C N , C O , C R , C U , C V , C X , C Y , C Z , D E , D J , D K , D M , D O , D Z , E C , E E , E G , E H , E R , E S , E T , F I , F J , F K , F M , F O , F R , G A , G B , G D , G E , G F , G G , G H , G I , G L , G M , G N , G P , G Q , G R , G S , G T , G U , G W , G Y , H K , H M , H N , H R , H T , H U , I D , I E , I L , I M , I N , I O , I Q , I R , I S , I T , J E , J M , J O , J P , K E , K G , K H , K I , K M , K N , K P , K R , K W , K Y , K Z , L A , L B , L C , L I , L K , L R , L S , L T , L U , L V , L Y , M A , M C , M D , M E , M F , M G , M H , M K , M L , M M , M N , M O , M P , M Q , M R , M S , M T , M U , M V , M W , M X , M Y , M Z , N A , N C , N E , N F , N G , N I , N L , N O , N P , N R , N U , N Z , O M , P A , P E , P F , P G , P H , P K , P L , P M , P N , P R , P S , P T , P W , P Y , Q A , R E , R O , R S , R U , R W , S A , S B , S C , S D , S E , S G , S H , S I , S J , S K , S L , S M , S N , S O , S R , S T , S V , S Y , S Z , T C , T D , T F , T G , T H , T J , T K , T L , T M , T N , T O , T R , T T , T V , T W , T Z , U A , U G , U M , U S , U Y , U Z , V A , V C , V E , V G , V I , V N , V U , W F , W S , Y E , Y T , Z A , Z M , Z W , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C o u n t r y C o d e _ l i s t I D "   s e l e c t = " ' I S O 3 1 6 6 - 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C o u n t r y C o d e _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C o u n t r y S u b "   s e l e c t = " ' , D K - 8 1 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C o u n t r y S u b _ l i s t I D "   s e l e c t = " ' I S O   3 1 6 6 - 2 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C o u n t r y S u b _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C u r r e n c y C o d e "   s e l e c t = " ' , E U R , A F A , D Z D , A D P , A R S , A M D , A W G , A U D , A Z M , B S D , B H D , T H B , P A B , B B D , B Y B , B Y R , B E F , B Z D , B M D , V E B , B O B , B R L , B N D , B G N , B I F , C A D , C V E , K Y D , G H C , X O F , X A F , X P F , C L P , C O P , K M F , B A M , N I O , C R C , H R K , C U P , C Y P , C Z K , G M D , D K K , M K D , D E M , D J F , S T D , D O P , V N D , G R D , X C D , E G P , S V C , E T B , F K P , F J D , H U F , C D F , F R F , G I P , H T G , P Y G , G N F , G W P , G Y D , H K D , U A H , I S K , I N R , I R R , I Q D , I E P , I T L , J M D , J O D , K E S , P G K , L A K , E E K , K W D , M W K , Z M K , A O A , M M K , G E L , L V L , L B P , A L L , H N L , S L L , R O L , B G L , L R D , L Y D , S Z L , L T L , L S L , L U F , M G F , M Y R , M T L , T M M , F I M , M U R , M Z M , M X N , M X V , M D L , M A D , B O V , N G N , E R N , N A D , N P R , A N G , N L G , I L S , T W D , N Z D , B T N , K P W , N O K , P E N , M R O , T O P , P K R , M O P , U Y U , P H P , P T E , G B P , B W P , Q A R , G T Q , Z A R , O M R , K H R , M V R , I D R , R U B , R U R , R W F , S H P , S A R , A T S , X D R , S C R , S G D , S K K , S B D , K G S , S O S , E S P , L K R , S D D , S R G , S E K , C H F , S Y P , T J R , B D T , W S T , T Z S , K Z T , T P E , S I T , T T D , M N T , T N D , T R L , A E D , U G X , C L F , U S D , U Z S , V U V , K R W , Y E R , J P Y , C N Y , Y U M , Z W D , P L N , A F A , D Z D , A D P , A R S , A M D , A W G , A U D , A Z M , B S D , B H D , T H B , P A B , B B D , B Y B , B Y R , B E F , B Z D , B M D , V E B , B O B , B R L , B N D , B G N , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C u r r e n c y C o d e _ l i s t I D "   s e l e c t = " ' I S O   4 2 1 7   A l p h a ' "   / >  
 < x s l : v a r i a b l e   n a m e = " C u r r e n c y C o d e _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D i s c r e p a n c y "   s e l e c t = " ' , B i l l i n g 1 , B i l l i n g 2 , B i l l i n g 3 , C o n d i t i o n 1 , C o n d i t i o n 2 , C o n d i t i o n 3 , C o n d i t i o n 4 , C o n d i t i o n 5 , C o n d i t i o n 6 , D e l i v e r y 1 , D e l i v e r y 2 , D e l i v e r y 3 , Q u a l i t y 1 , Q u a l i t y 2 , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D i s c r e p a n c y _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : d i s c r e p a n c y r e s p o n s e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D i s c r e p a n c y _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D o c T y p e C o d e "   s e l e c t = " ' r u l e ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D o c T y p e C o d e _ l i s t I D "   s e l e c t = " ' U N / E C E   1 0 0 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D o c T y p e C o d e _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " I n v T y p e C o d e "   s e l e c t = " ' , 3 2 5 , 3 8 0 , 3 9 3 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " I n v T y p e C o d e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : i n v o i c e t y p e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " I n v T y p e C o d e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U N S P S C "   s e l e c t = " ' r u l e ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U N S P S C _ l i s t I D "   s e l e c t = " ' U N S P S C ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U N S P S C _ a g e n c y I D "   s e l e c t = " ' 1 1 3 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i f e C y c l e "   s e l e c t = " ' , A v a i l a b l e , D e l e t e d A n n o u n c e m e n t , I t e m D e l e t e d , N e w A n n o u n c e m e n t , N e w A v a i l a b l e , I t e m T e m p o r a r i l y U n a v a i l a b l e , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i f e C y c l e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : l i f e c y c l e s t a t u s c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i f e C y c l e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i n e R e s p o n s e "   s e l e c t = " ' , B u s i n e s s A c c e p t , B u s i n e s s R e j e c t , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i n e R e s p o n s e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : l i n e r e s p o n s e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i n e R e s p o n s e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i n e S t a t u s "   s e l e c t = " ' , A d d e d , C a n c e l l e d , D i s p u t e d , N o S t a t u s , R e v i s e d , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i n e S t a t u s _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : l i n e s t a t u s c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L i n e S t a t u s _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L o s s R i s k "   s e l e c t = " ' , F O B , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L o s s R i s k _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : l o s s r i s k r e s p o n s i b i l i t y c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L o s s R i s k _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a y m e n t C h a n n e l "   s e l e c t = " ' , B B A N , D K : B A N K , D K : F I K , D K : G I R O , D K : N E M K O N T O , F I : B A N K , F I : G I R O , G B : B A C S , G B : B A N K , G B : G I R O , I B A N , I S : B A N K , I S : G I R O , I S : I K 6 6 , I S : R B , N O : B A N K , S E : B A N K G I R O , S E : P L U S G I R O , S W I F T U S , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a y m e n t C h a n n e l _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : p a y m e n t c h a n n e l c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a y m e n t C h a n n e l _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r i c e T y p e "   s e l e c t = " ' , A A A , A A B , A A C , A A D , A A E , A A F , A A G , A A H , A A I , A A J , A A K , A A L , A A M , A A N , A A O , A A P , A A Q , A A R , A A S , A A T , A A U , A A V , A A W , A A X , A A Y , A A Z , A B A , A B B , A B C , A B D , A B E , A B F , A B G , A B H , A B I , A B J , A B K , A B L , A B M , A B N , A B O , A B P , A B Q , A B R , A B S , A B T , A B U , A B V , A I , A L T , A P , B R , C A T , C D V , C O N , C P , C U , C U P , C U S , D A P , D I S , D P R , D R , D S C , E C , E S , E U P , F C R , G R P , I N V , L B L , M A X , M I N , M N R , M S R , M X R , N E , N Q T , N T P , N W , O C R , O F R , P A Q , P B Q , P P D , P P R , P R O , P R P , P W , Q T E , R E S , R T P , S H D , S R P , S W , T B , T R F , T U , T W , W H , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r i c e T y p e _ l i s t I D "   s e l e c t = " ' U N / E C E   5 3 8 7 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r i c e T y p e _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r i c e L i s t S t a t "   s e l e c t = " ' , O r i g i n a l , C o p y , R e v i s i o n , C a n c e l l a t i o n , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r i c e L i s t S t a t _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l . c o d e l i s t : p r i c e l i s t s t a t u s c o d e - 1 . 1 , u r n : o i o u b l : c o d e l i s t : p r i c e l i s t s t a t u s c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r i c e L i s t S t a t _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e m T y p e "   s e l e c t = " ' , R e m i n d e r , A d v i s , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e m T y p e _ l i s t I D "   s e l e c t = " ' , u r n : o i o u b l . c o d e l i s t : r e m i n d e r t y p e c o d e - 1 . 1 , u r n : o i o u b l : c o d e l i s t : r e m i n d e r t y p e c o d e - 1 . 1 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e m T y p e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e m A l c "   s e l e c t = " ' , P e n a l t y F e e , P e n a l t y R a t e , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e m A l c _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : r e m i n d e r a l l o w a n c e c h a r g e r e a s o n c o d e - 1 . 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e m A l c _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e "   s e l e c t = " ' , B u s i n e s s A c c e p t , B u s i n e s s R e j e c t , P r o f i l e A c c e p t , P r o f i l e R e j e c t , T e c h n i c a l A c c e p t , T e c h n i c a l R e j e c t , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : r e s p o n s e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e D o c T y p e "   s e l e c t = " ' , A p p l i c a t i o n R e s p o n s e , C a t a l o g u e , C a t a l o g u e D e l e t i o n , C a t a l o g u e I t e m S p e c i f i c a t i o n U p d a t e , C a t a l o g u e I t e m U p d a t e , C a t a l o g u e P r i c i n g U p d a t e , C a t a l o g u e P r i c e U p d a t e , C a t a l o g u e R e q u e s t , C r e d i t N o t e , I n v o i c e , O r d e r , O r d e r C a n c e l l a t i o n , O r d e r C h a n g e , O r d e r R e s p o n s e , O r d e r R e s p o n s e S i m p l e , R e m i n d e r , S t a t e m e n t , P a y m e n t , P e r s o n a l S e c u r e , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e D o c T y p e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : r e s p o n s e d o c u m e n t t y p e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e D o c T y p e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e D o c T y p e 2 "   s e l e c t = " ' , A p p l i c a t i o n R e s p o n s e , C a t a l o g u e , C a t a l o g u e D e l e t i o n , C a t a l o g u e I t e m S p e c i f i c a t i o n U p d a t e , C a t a l o g u e I t e m U p d a t e , C a t a l o g u e P r i c i n g U p d a t e , C a t a l o g u e P r i c e U p d a t e , C a t a l o g u e R e q u e s t , C r e d i t N o t e , I n v o i c e , O r d e r , O r d e r C a n c e l l a t i o n , O r d e r C h a n g e , O r d e r R e s p o n s e , O r d e r R e s p o n s e S i m p l e , R e m i n d e r , S t a t e m e n t , P a y m e n t , U t i l i t y S t a t e m e n t , P e r s o n a l S e c u r e , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e D o c T y p e 2 _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : r e s p o n s e d o c u m e n t t y p e c o d e - 1 . 2 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " R e s p o n s e D o c T y p e 2 _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " S u b S t a t u s "   s e l e c t = " ' , D e l i v e r y D a t e C h a n g e d , D e l i v e r y D a t e N o t P o s s i b l e , D e l i v e r y P a r t y U n k n o w n , I t e m D e l e t e d , I t e m N o t F o u n d , I t e m N o t I n A s s o r t m e n t , I t e m R e p l a c e d , I t e m T e m p o r a r i l y U n a v a i l a b l e , N e w A n n o u n c e m e n t , O r d e r e d Q u a n t i t y C h a n g e d , O r d e r L i n e R e j e c t e d , O r i g i n a l , S e a s o n a l I t e m U n a v a i l a b l e , S u b s t i t u t i o n , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " S u b S t a t u s _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : s u b s t i t u t i o n s t a t u s c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " S u b S t a t u s _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x E x e m p t i o n "   s e l e c t = " ' , A A A , A A B , A A C , A A E , A A F , A A G , A A H , A A I , A A J , A A K , A A L , A A M , A A N , A A O , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x E x e m p t i o n _ l i s t I D "   s e l e c t = " ' C W A   1 5 5 7 7 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x E x e m p t i o n _ a g e n c y I D "   s e l e c t = " ' C E N ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x T y p e "   s e l e c t = " ' , S t a n d a r d R a t e d , Z e r o R a t e d , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x T y p e _ l i s t I D "   s e l e c t = " ' u r n : o i o u b l : c o d e l i s t : t a x t y p e c o d e - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x T y p e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U n i t M e a s u r e "   s e l e c t = " ' x s d ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U n i t M e a s u r e _ l i s t I D "   s e l e c t = " ' U N / E C E   r e c   2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " U n i t M e a s u r e _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D e l i v e r y _ 1 "   s e l e c t = " ' , E X W , F C A , F A S , F O B , C F R , C I F , C P T , C I P , D A F , D E S , D E Q , D D U , D D P , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D e l i v e r y _ 1 _ s c h e m e I D "   s e l e c t = " ' I N C O T E R M S   2 0 0 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D e l i v e r y _ 1 _ a g e n c y I D "   s e l e c t = " ' N E S ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D e l i v e r y _ 2 "   s e l e c t = " ' , 0 0 1   E X W , 0 0 2   F C A , 0 0 3   F A S , 0 0 4   F O B , 0 0 5   F C A , 0 0 6   C P T , 0 0 7   C I P , 0 0 8   C F R , 0 0 9   C I F , 0 1 0   C P T , 0 1 1   C I P , 0 1 2   C P T , 0 1 3   C I P , 0 1 4   C P T , 0 1 5   C I P , 0 1 6   D E S , 0 1 7   D R Q , 0 1 8   D A F , 0 1 9   D D U , 0 2 1   D D P , 0 2 2   D D U , 0 2 3   D D P , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D e l i v e r y _ 2 _ s c h e m e I D "   s e l e c t = " ' C O M B I T E R M S   2 0 0 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D e l i v e r y _ 2 _ a g e n c y I D "   s e l e c t = " ' N E S ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D i m e n s i o n "   s e l e c t = " ' , A , A A A , A A B , A A C , A A D , A A E , A A F , A A J , A A K , A A L , A A M , A A N , A A O , A A P , A A Q , A A R , A A S , A A T , A A U , A A V , A A W , A A X , A A Y , A A Z , A B A , A B B , A B C , A B D , A B E , A B J , A B S , A B X , A B Y , A B Z , A C A , A C E , A C G , A C N , A C P , A C S , A C V , A C W , A C X , A D R , A D S , A D T , A D U , A D V , A D W , A D X , A D Y , A D Z , A E A , A E B , A E C , A E D , A E E , A E F , A E G , A E H , A E I , A E J , A E K , A E M , A E N , A E O , A E P , A E Q , A E R , A E T , A E U , A E V , A E W , A E X , A E Y , A E Z , A F , A F A , A F B , A F C , A F D , A F E , A F F , A F G , A F H , A F I , A F J , A F K , B , B L , B M Y , B M Z , B N A , B N B , B N C , B N D , B N E , B N F , B N G , B N H , B N I , B N J , B N K , B N L , B N M , B N N , B N O , B N P , B N Q , B N R , B N S , B N T , B R , B R A , B R E , B S , B S W , B W , C H N , C M , C T , C V , C Z , D , D I , D L , D N , D P , D R , D S , D W , E , E A , F , F I , F L , F N , F V , G , G G , G W , H F , H M , H T , I B , I D , L , L M , L N , L N D , M , M O , M W , N , O D , P R S , P T N , R A , R F , R J , R M W , R P , R U N , R Y , S Q , T , T C , T H , T N , T T , U , V H , V W , W A , W D , W M , W T , W U , X H , X Q , X Z , Y S , Z A L , Z A S , Z B , Z B I , Z C , Z C A , Z C B , Z C E , Z C L , Z C O , Z C R , Z C U , Z F E , Z F S , Z G E , Z H , Z K , Z M G , Z M N , Z M O , Z N , Z N A , Z N B , Z N I , Z O , Z P , Z P B , Z S , Z S B , Z S E , Z S I , Z S L , Z S N , Z T A , Z T E , Z T I , Z V , Z W , Z W A , Z Z N , Z Z R , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D i m e n s i o n _ s c h e m e I D "   s e l e c t = " ' U N / E C E   6 3 1 3 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " D i m e n s i o n _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " B I C "   s e l e c t = " ' r u l e ' "   / >  
 < x s l : v a r i a b l e   n a m e = " B I C _ s c h e m e I D "   s e l e c t = " ' B I C ' "   / >  
 < x s l : v a r i a b l e   n a m e = " B I C _ a g e n c y I D "   s e l e c t = " ' 1 7 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " I B A N "   s e l e c t = " ' r u l e ' "   / >  
 < x s l : v a r i a b l e   n a m e = " I B A N _ s c h e m e I D "   s e l e c t = " ' I B A N ' "   / >  
 < x s l : v a r i a b l e   n a m e = " I B A N _ a g e n c y I D "   s e l e c t = " ' 1 7 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L o c I D "   s e l e c t = " ' r u l e ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L o c I D _ s c h e m e I D "   s e l e c t = " ' U N / E C E   r e c   1 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " L o c I D _ a g e n c y I D "   s e l e c t = " ' 6 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a y m e n t I D "   s e l e c t = " ' , 0 1 , 0 4 , 1 5 , 7 1 , 7 3 , 7 5 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a y m e n t I D _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : p a y m e n t i d - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a y m e n t I D _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 1 "   s e l e c t = " ' , N O N E , P r o c u r e m e n t - B i l S i m - 1 . 0 , P r o c u r e m e n t - B i l S i m R - 1 . 0 , P r o c u r e m e n t - P a y B a s - 1 . 0 , P r o c u r e m e n t - P a y B a s R - 1 . 0 , P r o c u r e m e n t - O r d S i m - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S i m R - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S i m - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d S i m R - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d A d v - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d A d v - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d A d v R - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d A d v R - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d S e l - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S e l - B i l S i m R - 1 . 0 , C a t a l o g u e - C a t B a s - 1 . 0 , C a t a l o g u e - C a t B a s R - 1 . 0 , C a t a l o g u e - C a t S i m - 1 . 0 , C a t a l o g u e - C a t S i m R - 1 . 0 , C a t a l o g u e - C a t E x t - 1 . 0 , C a t a l o g u e - C a t E x t R - 1 . 0 , C a t a l o g u e - C a t A d v - 1 . 0 , C a t a l o g u e - C a t A d v R - 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 1 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 2 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 5 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 8 : v e r 1 . 0 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 1 _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : p r o f i l e i d - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 1 _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 2 "   s e l e c t = " ' , N O N E , P r o c u r e m e n t - B i l S i m - 1 . 0 , P r o c u r e m e n t - B i l S i m R - 1 . 0 , P r o c u r e m e n t - P a y B a s - 1 . 0 , P r o c u r e m e n t - P a y B a s R - 1 . 0 , P r o c u r e m e n t - O r d S i m - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S i m R - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S i m - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d S i m R - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d A d v - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d A d v - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d A d v R - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d A d v R - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d S e l - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S e l - B i l S i m R - 1 . 0 , C a t a l o g u e - C a t B a s - 1 . 0 , C a t a l o g u e - C a t B a s R - 1 . 0 , C a t a l o g u e - C a t S i m - 1 . 0 , C a t a l o g u e - C a t S i m R - 1 . 0 , C a t a l o g u e - C a t E x t - 1 . 0 , C a t a l o g u e - C a t E x t R - 1 . 0 , C a t a l o g u e - C a t A d v - 1 . 0 , C a t a l o g u e - C a t A d v R - 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 1 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 2 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 5 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 8 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 1 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 2 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 5 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 8 : v e r 2 . 0 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 2 _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : p r o f i l e i d - 1 . 2 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 2 _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 3 "   s e l e c t = " ' , N O N E , P r o c u r e m e n t - B i l S i m - 1 . 0 , P r o c u r e m e n t - B i l S i m R - 1 . 0 , P r o c u r e m e n t - P a y B a s - 1 . 0 , P r o c u r e m e n t - P a y B a s R - 1 . 0 , P r o c u r e m e n t - O r d S i m - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S i m R - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S i m - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d S i m R - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d A d v - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d A d v - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d A d v R - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d A d v R - B i l S i m R - 1 . 0 , P r o c u r e m e n t - O r d S e l - B i l S i m - 1 . 0 , P r o c u r e m e n t - O r d S e l - B i l S i m R - 1 . 0 , C a t a l o g u e - C a t B a s - 1 . 0 , C a t a l o g u e - C a t B a s R - 1 . 0 , C a t a l o g u e - C a t S i m - 1 . 0 , C a t a l o g u e - C a t S i m R - 1 . 0 , C a t a l o g u e - C a t E x t - 1 . 0 , C a t a l o g u e - C a t E x t R - 1 . 0 , C a t a l o g u e - C a t A d v - 1 . 0 , C a t a l o g u e - C a t A d v R - 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 1 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 2 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 5 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 8 : v e r 1 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 1 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 2 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 5 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 2 . 0 , u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 8 : v e r 2 . 0 , R e f e r e n c e - U t i l i t y - 1 . 0 , R e f e r e n c e - U t i l i t y R - 1 . 0 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 3 _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : p r o f i l e i d - 1 . 3 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P r o f i l e 3 _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x C a t e g o r y "   s e l e c t = " ' , Z e r o R a t e d , S t a n d a r d R a t e d , R e v e r s e C h a r g e , E x c i s e , 3 0 1 0 , 3 0 2 0 , 3 0 2 1 , 3 0 2 2 , 3 0 2 3 , 3 0 2 4 , 3 0 2 5 , 3 0 3 0 , 3 0 4 0 , 3 0 4 1 , 3 0 4 8 , 3 0 4 9 , 3 0 5 0 , 3 0 5 1 , 3 0 5 2 , 3 0 5 3 , 3 0 5 4 , 3 0 5 5 , 3 0 5 6 , 3 0 5 7 , 3 0 5 8 , 3 0 5 9 , 3 0 6 0 , 3 0 6 1 , 3 0 6 2 , 3 0 6 3 , 3 0 6 4 , 3 0 6 5 , 3 0 6 6 , 3 0 6 7 , 3 0 6 8 , 3 0 7 0 , 3 0 7 1 , 3 0 7 2 , 3 0 7 3 , 3 0 7 5 , 3 0 7 7 , 3 0 8 0 , 3 0 8 1 , 3 0 8 2 , 3 0 8 3 , 3 0 8 4 , 3 0 8 5 , 3 0 8 6 , 3 0 9 0 , 3 0 9 1 , 3 0 9 2 , 3 0 9 3 , 3 0 9 4 , 3 0 9 5 , 3 0 9 6 , 3 1 0 0 , 3 1 0 1 , 3 1 0 2 , 3 1 0 4 , 3 1 2 0 , 3 1 2 1 , 3 1 2 2 , 3 1 2 3 , 3 1 3 0 , 3 1 4 0 , 3 1 4 1 , 3 1 6 0 , 3 1 6 1 , 3 1 6 2 , 3 1 6 3 , 3 1 7 0 , 3 1 7 1 , 3 2 4 0 , 3 2 4 1 , 3 2 4 2 , 3 2 4 5 , 3 2 4 6 , 3 2 4 7 , 3 2 5 0 , 3 2 5 1 , 3 2 6 0 , 3 2 7 1 , 3 2 7 2 , 3 2 7 3 , 3 2 7 6 , 3 2 7 7 , 3 2 8 0 , 3 2 8 1 , 3 2 8 2 , 3 2 8 3 , 3 2 9 0 , 3 2 9 1 , 3 2 9 2 , 3 2 9 3 , 3 2 9 4 , 3 2 9 5 , 3 2 9 6 , 3 2 9 7 , 3 3 0 0 , 3 3 0 1 , 3 3 0 2 , 3 3 0 3 , 3 3 0 4 , 3 3 0 5 , 3 3 1 0 , 3 3 1 1 , 3 3 2 0 , 3 3 2 1 , 3 3 3 0 , 3 3 3 1 , 3 3 4 0 , 3 3 4 1 , 3 3 5 0 , 3 3 5 1 , 3 3 6 0 , 3 3 7 0 , 3 3 8 0 , 3 4 0 0 , 3 4 0 3 , 3 4 0 4 , 3 4 0 5 , 3 4 0 6 , 3 4 1 0 , 3 4 2 0 , 3 4 3 0 , 3 4 4 0 , 3 4 4 1 , 3 4 5 1 , 3 4 5 2 , 3 4 5 3 , 3 5 0 0 , 3 5 0 1 , 3 5 0 2 , 3 5 0 3 , 3 6 0 0 , 3 6 2 0 , 3 6 2 1 , 3 6 2 2 , 3 6 2 3 , 3 6 2 4 , 3 6 3 0 , 3 6 3 1 , 3 6 3 2 , 3 6 3 3 , 3 6 3 4 , 3 6 3 5 , 3 6 3 6 , 3 6 3 7 , 3 6 3 8 , 3 6 4 0 , 3 6 4 1 , 3 6 4 5 , 3 6 5 0 , 3 6 6 0 , 3 6 6 1 , 3 6 7 0 , 3 6 7 1 , 3 1 0 3 0 1 , 3 1 0 3 0 2 , 3 1 0 3 0 3 , 3 1 0 3 0 4 , 3 1 0 3 0 5 , 3 1 0 3 0 6 , 3 1 0 3 0 7 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x C a t e g o r y _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : t a x c a t e g o r y i d - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x C a t e g o r y _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x S c h e m e "   s e l e c t = " ' , 9 , 1 0 , 1 1 , 1 6 , 1 7 , 1 8 , 1 9 , 2 1 , 2 4 , 2 5 , 2 7 , 2 8 , 3 0 , 3 1 , 3 2 , 3 3 , 3 9 , 4 0 , 4 1 , 5 3 , 5 4 , 5 6 , 5 7 , 6 1 , 6 2 , 6 3 , 6 9 , 7 0 , 7 1 , 7 2 , 7 5 , 7 6 , 7 7 , 7 9 , 8 5 , 8 6 , 8 7 , 9 1 , 9 4 , 9 5 , 9 7 , 9 8 , 9 9 , 1 0 0 , 1 0 8 , 1 0 9 , 1 1 0 , 1 1 1 , 1 2 7 , 1 2 8 , 1 3 0 , 1 3 3 , 1 3 4 , 1 3 5 , 1 3 6 , 1 3 7 , 1 3 8 , 1 3 9 , 1 4 0 , 1 4 2 , 1 4 6 , 1 5 1 , 1 5 2 , V A T , 0 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x S c h e m e _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : t a x s c h e m e i d - 1 . 1 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x S c h e m e _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x S c h e m e 2 "   s e l e c t = " ' , 9 , 1 0 , 1 1 , 1 6 , 1 7 , 1 8 , 1 9 , 2 1 , 2 1 a , 2 1 b , 2 1 c , 2 1 d , 2 1 e , 2 1 f , 2 4 , 2 5 , 2 7 , 2 8 , 3 0 , 3 1 , 3 2 , 3 3 , 3 9 , 4 0 , 4 1 , 5 3 , 5 4 , 5 6 , 5 7 , 6 1 , 6 1 a , 6 2 , 6 3 , 6 9 , 7 0 , 7 1 , 7 2 , 7 5 , 7 6 , 7 7 , 7 9 , 8 5 , 8 6 , 8 7 , 9 1 , 9 4 , 9 4 a , 9 5 , 9 7 , 9 8 , 9 9 , 9 9 a , 1 0 0 , 1 0 8 , 1 0 9 , 1 1 0 , 1 1 0 a , 1 1 0 b , 1 1 0 c , 1 1 1 , 1 1 2 , 1 1 2 a , 1 1 2 b , 1 1 2 c , 1 1 2 d , 1 1 2 e , 1 1 2 f , 1 2 7 , 1 2 7 a , 1 2 7 b , 1 2 7 c , 1 2 8 , 1 3 0 , 1 3 3 , 1 3 4 , 1 3 5 , 1 3 6 , 1 3 7 , 1 3 8 , 1 3 9 , 1 4 0 , 1 4 2 , 1 4 6 , 1 5 1 , 1 5 2 , V A T , 0 , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x S c h e m e 2 _ s c h e m e I D "   s e l e c t = " ' u r n : o i o u b l : i d : t a x s c h e m e i d - 1 . 2 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " T a x S c h e m e 2 _ a g e n c y I D "   s e l e c t = " ' 3 2 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " E n d p o i n t I D "   s e l e c t = " ' , D U N S , G L N , I B A N , I S O   6 5 2 3 , D K : C P R , D K : C V R , D K : P , D K : S E , D K : V A N S , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a r t y I D "   s e l e c t = " ' , D U N S , G L N , I B A N , I S O   6 5 2 3 , Z Z Z , D K : C P R , D K : C V R , D K : P , D K : S E , D K : T E L E F O N , F I : O R G N R , I S : K T , I S : V S K N R , N O : E F O , N O : N O B B , N O : N O D I , N O : O R G N R , N O : V A T , S E : O R G N R , S E : V A T , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a r t y L e g a l I D "   s e l e c t = " ' , D K : C V R , D K : C P R , Z Z Z , ' "   / >  
 < x s l : v a r i a b l e   n a m e = " P a r t y T a x I D "   s e l e c t = " ' , D K : S E , Z Z Z , ' "   / >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 9 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 9 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 9 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 9 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
 < x s l : v a r i a b l e   n a m e = " S i m p l e "   s e l e c t = " d o c : C r e d i t N o t e / c b c : P r o f i l e I D   =   ' P r o c u r e m e n t - O r d S i m R - B i l S i m - 1 . 0 '   o r   d o c : C r e d i t N o t e / c b c : P r o f i l e I D   =   ' P r o c u r e m e n t - O r d A d v - B i l S i m - 1 . 0 '   o r   d o c : C r e d i t N o t e / c b c : P r o f i l e I D   =   ' u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 1 . 0 '   o r   d o c : C r e d i t N o t e / c b c : P r o f i l e I D   =   ' u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 7 : v e r 2 . 0 ' "   / >  
 < x s l : v a r i a b l e   n a m e = " N e s "   s e l e c t = " d o c : C r e d i t N o t e / c b c : P r o f i l e I D   =   ' u r n : w w w . n e s u b l . e u : p r o f i l e s : p r o f i l e 5 : v e r 2 . 0 ' "   / >  
  
 < ! - - P A T T E R N   a b s t r a c t s - - >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 3 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 3 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 3 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 3 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   p r o f i l e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " / "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 1 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " l o c a l - n a m e ( * )   =   ' C r e d i t N o t e ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( * )   =   ' C r e d i t N o t e ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 1 ]   R o o t   e l e m e n t   m u s t   b e   C r e d i t N o t e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 1 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : U B L V e r s i o n I D   =   ' 2 . 0 ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U B L V e r s i o n I D   =   ' 2 . 0 ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 0 1 ]   I n v a l i d   U B L V e r s i o n I D .   M u s t   b e   ' 2 . 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : C u s t o m i z a t i o n I D   =   ' O I O U B L - 2 . 0 1 '   o r   c b c : C u s t o m i z a t i o n I D   =   ' O I O U B L - 2 . 0 2 ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : C u s t o m i z a t i o n I D   =   ' O I O U B L - 2 . 0 1 '   o r   c b c : C u s t o m i z a t i o n I D   =   ' O I O U B L - 2 . 0 2 ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 0 2 ]   I n v a l i d   C u s t o m i z a t i o n I D .   M u s t   b e   e i t h e r   ' O I O U B L - 2 . 0 1 '   o r   ' O I O U B L - 2 . 0 2 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 1 _ s c h e m e I D   o r   c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 2 _ s c h e m e I D   o r   c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 3 _ s c h e m e I D "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 1 _ s c h e m e I D   o r   c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 2 _ s c h e m e I D   o r   c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 3 _ s c h e m e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 0 0 3 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ P r o f i l e 1 _ s c h e m e I D "   / >  
 < x s l : t e x t   / > '   o r   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ P r o f i l e 2 _ s c h e m e I D "   / >  
 < x s l : t e x t   / > '   o r   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ P r o f i l e 3 _ s c h e m e I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : P r o f i l e I D / @ s c h e m e A g e n c y I D   =   $ P r o f i l e 1 _ a g e n c y I D "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P r o f i l e I D / @ s c h e m e A g e n c y I D   =   $ P r o f i l e 1 _ a g e n c y I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 0 3 ]   I n v a l i d   s c h e m e A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ P r o f i l e 1 _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 1 _ s c h e m e I D   a n d   n o t   ( c o n t a i n s ( $ P r o f i l e 1 ,   c o n c a t ( ' , ' , c b c : P r o f i l e I D , ' , ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 1 _ s c h e m e I D   a n d   n o t   ( c o n t a i n s ( $ P r o f i l e 1 ,   c o n c a t ( ' , ' , c b c : P r o f i l e I D , ' , ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 0 4 ]   I n v a l i d   P r o f i l e I D :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " c b c : P r o f i l e I D "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 2 _ s c h e m e I D   a n d   n o t   ( c o n t a i n s ( $ P r o f i l e 2 ,   c o n c a t ( ' , ' , c b c : P r o f i l e I D , ' , ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 2 _ s c h e m e I D   a n d   n o t   ( c o n t a i n s ( $ P r o f i l e 2 ,   c o n c a t ( ' , ' , c b c : P r o f i l e I D , ' , ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 3 0 2 ]   I n v a l i d   P r o f i l e I D :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " c b c : P r o f i l e I D "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 3 _ s c h e m e I D   a n d   n o t   ( c o n t a i n s ( $ P r o f i l e 3 ,   c o n c a t ( ' , ' , c b c : P r o f i l e I D , ' , ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P r o f i l e I D / @ s c h e m e I D   =   $ P r o f i l e 3 _ s c h e m e I D   a n d   n o t   ( c o n t a i n s ( $ P r o f i l e 3 ,   c o n c a t ( ' , ' , c b c : P r o f i l e I D , ' , ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 3 0 8 ]   I n v a l i d   P r o f i l e I D :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " c b c : P r o f i l e I D "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " $ S i m p l e   a n d   n o t ( c a c : O r d e r R e f e r e n c e ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > $ S i m p l e   a n d   n o t ( c a c : O r d e r R e f e r e n c e ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 2 ]   T h e r e   m u s t   b e   a n   O r d e r R e f e r e n c e   c l a s s   f o r   t h i s   p r o f i l e I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 4 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 4 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 4 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 4 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 4 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   c r e d i t n o t e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : T a x R e p r e s e n t a t i v e P a r t y )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : T a x R e p r e s e n t a t i v e P a r t y )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 6 5 ]   T a x R e p r e s e n t a t i v e P a r t y   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : D o c u m e n t C u r r e n c y C o d e   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : D o c u m e n t C u r r e n c y C o d e   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 4 ]   I n v a l i d   D o c u m e n t C u r r e n c y C o d e .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : T a x T o t a l )   ! =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : T a x T o t a l )   ! =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 5 ]   O n e   o r   m o r e   T a x T o t a l   c l a s s   m u s t   b e   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 6 ]   I n v a l i d   I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A c c o u n t i n g C o s t   a n d   c b c : A c c o u n t i n g C o s t C o d e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A c c o u n t i n g C o s t   a n d   c b c : A c c o u n t i n g C o s t C o d e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 1 ]   U s e   e i t h e r   A c c o u n t i n g C o s t   o r   A c c o u n t i n g C o s t C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( c a c : I n v o i c e P e r i o d )   & g t ;   1 " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : I n v o i c e P e r i o d )   & g t ;   1 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 5 9 ]   N o   m o r e   t h a n   o n e   I n v o i c e P e r i o d   c l a s s   m a y   b e   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : U U I D "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " s t r i n g - l e n g t h ( s t r i n g ( . ) )   =   3 6 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > s t r i n g - l e n g t h ( s t r i n g ( . ) )   =   3 6 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 0 6 ]   I n v a l i d   < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e ( . ) "   / >  
 < x s l : t e x t   / > .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : N o t e "   p r i o r i t y = " 3 9 9 7 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( . . / c b c : N o t e )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( . . / c b c : N o t e )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 0 1 1 ]   T h e   a t t r i b u t e   l a n g u a g e I D   s h o u l d   b e   u s e d   w h e n   m o r e   t h a n   o n e   < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e ( . ) "   / >  
 < x s l : t e x t   / >   e l e m e n t   i s   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 0 1 2 ]   M u l t i l a n g u a g e   e r r o r .   R e p l i c a t e d   < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e ( . ) "   / >  
 < x s l : t e x t   / >   e l e m e n t s   w i t h   s a m e   l a n g u a g e I D   a t t r i b u t e   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : D o c u m e n t C u r r e n c y C o d e "   p r i o r i t y = " 3 9 9 6 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " / * / c a c : C r e d i t N o t e L i n e / c b c : L i n e E x t e n s i o n A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > / * / c a c : C r e d i t N o t e L i n e / c b c : L i n e E x t e n s i o n A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 7 ]   T h e r e   i s   a   L i n e E x t e n s i o n A m o u n t   f o r   o n e   o r   m o r e   C r e d i t N o t e L i n e s   w h e r e   t h e   c u r r e n c y I D   d o e s   n o t   e q u a l   t h e   D o c u m e n t C u r r e n c y C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " / * / c a c : L e g a l M o n e t a r y T o t a l / c b c : L i n e E x t e n s i o n A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > / * / c a c : L e g a l M o n e t a r y T o t a l / c b c : L i n e E x t e n s i o n A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 8 ]   T h e r e   i s   a   L i n e E x t e n s i o n A m o u n t   w h e r e   t h e   c u r r e n c y I D   d o e s   n o t   e q u a l   t h e   D o c u m e n t C u r r e n c y C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " / * / c a c : L e g a l M o n e t a r y T o t a l / c b c : P a y a b l e A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > / * / c a c : L e g a l M o n e t a r y T o t a l / c b c : P a y a b l e A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 0 9 ]   T h e r e   i s   a   P a y a b l e A m o u n t   w h e r e   t h e   c u r r e n c y I D   d o e s   n o t   e q u a l   t h e   D o c u m e n t C u r r e n c y C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ l i s t I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 8 ]   I n v a l i d   C u r r e n c y C o d e :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " . "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : T a x C u r r e n c y C o d e "   p r i o r i t y = " 3 9 9 5 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " / / c b c : T a x A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > / / c b c : T a x A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 0 ]   T h e r e   i s   a   T a x A m o u n t   w h e r e   t h e   c u r r e n c y I D   d o e s   n o t   e q u a l   t h e   T a x C u r r e n c y C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " . = ' D K K '   o r   .   = ' E U R ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . = ' D K K '   o r   .   = ' E U R ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 1 ]   T a x C u r r e n c y C o d e   m u s t   b e   e i t h e r   D K K   o r   E U R < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( / * / c a c : T a x E x c h a n g e R a t e )   ! =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( / * / c a c : T a x E x c h a n g e R a t e )   ! =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 2 ]   O n e   T a x E x c h a n g e R a t e   c l a s s   m u s t   b e   p r e s e n t   w h e n   T a x C u r r e n c y C o d e   e l e m e n t   i s   u s e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( / * / c a c : T a x T o t a l / c a c : T a x S u b t o t a l / c b c : T r a n s a c t i o n C u r r e n c y T a x A m o u n t )   ! =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( / * / c a c : T a x T o t a l / c a c : T a x S u b t o t a l / c b c : T r a n s a c t i o n C u r r e n c y T a x A m o u n t )   ! =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 3 ]   O n e   T r a n s a c t i o n C u r r e n c y T a x A m o u n t   e l e m e n t   m u s t   b e   p r e s e n t   w h e n   T a x C u r r e n c y C o d e   e l e m e n t   i s   u s e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ l i s t I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 8 ]   I n v a l i d   C u r r e n c y C o d e :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " . "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : P r i c i n g C u r r e n c y C o d e "   p r i o r i t y = " 3 9 9 4 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " / * / c a c : C r e d i t N o t e L i n e / c a c : P r i c e / c b c : P r i c e A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > / * / c a c : C r e d i t N o t e L i n e / c a c : P r i c e / c b c : P r i c e A m o u n t [ @ c u r r e n c y I D ] [ @ c u r r e n c y I D ! = s t r i n g ( c u r r e n t ( ) ) ] < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 4 ]   T h e r e   i s   a   P r i c e A m o u n t   w h e r e   t h e   c u r r e n c y I D   d o e s   n o t   e q u a l   t h e   P r i c i n g C u r r e n c y C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( / * / c a c : P r i c i n g E x c h a n g e R a t e )   ! =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( / * / c a c : P r i c i n g E x c h a n g e R a t e )   ! =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 5 ]   O n e   P r i c i n g E x c h a n g e R a t e   c l a s s   m u s t   b e   p r e s e n t   w h e n   P r i c i n g C u r r e n c y C o d e   e l e m e n t   i s   u s e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ l i s t I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 8 ]   I n v a l i d   C u r r e n c y C o d e :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " . "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : P a y m e n t C u r r e n c y C o d e "   p r i o r i t y = " 3 9 9 3 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( / * / c a c : P a y m e n t E x c h a n g e R a t e )   ! =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( / * / c a c : P a y m e n t E x c h a n g e R a t e )   ! =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 6 ]   O n e   P a y m e n t E x c h a n g e R a t e   c l a s s   m u s t   b e   p r e s e n t   w h e n   P a y m e n t C u r r e n c y C o d e   e l e m e n t   i s   u s e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ l i s t I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 8 ]   I n v a l i d   C u r r e n c y C o d e :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " . "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c b c : P a y m e n t A l t e r n a t i v e C u r r e n c y C o d e "   p r i o r i t y = " 3 9 9 2 "   m o d e = " M 1 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( / * / c a c : P a y m e n t A l t e r n a t i v e E x c h a n g e R a t e )   ! =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( / * / c a c : P a y m e n t A l t e r n a t i v e E x c h a n g e R a t e )   ! =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 7 ]   O n e   P a y m e n t A l t e r n a t i v e E x c h a n g e R a t e   c l a s s   m u s t   b e   p r e s e n t   w h e n   P a y m e n t A l t e r n a t i v e C u r r e n c y C o d e   e l e m e n t   i s   u s e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t I D   a n d   . / @ l i s t I D   ! =   $ C u r r e n c y C o d e _ l i s t I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ l i s t I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t A g e n c y I D   a n d   . / @ l i s t A g e n c y I D   ! =   $ C u r r e n c y C o d e _ a g e n c y I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ C u r r e n c y C o d e _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o n t a i n s ( $ C u r r e n c y C o d e ,   c o n c a t ( ' , ' , . , ' , ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 9 8 ]   I n v a l i d   C u r r e n c y C o d e :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " . "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 5 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 5 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 5 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   i n v o i c e p e r i o d - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : I n v o i c e P e r i o d "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 1 6 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D u r a t i o n M e a s u r e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D u r a t i o n M e a s u r e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 6 ]   D u r a t i o n M e a s u r e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D e s c r i p t i o n C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D e s c r i p t i o n C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 7 ]   D e s c r i p t i o n C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : S t a r t T i m e )   a n d   ( n o t ( c b c : S t a r t D a t e )   o r   c b c : S t a r t D a t e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : S t a r t T i m e )   a n d   ( n o t ( c b c : S t a r t D a t e )   o r   c b c : S t a r t D a t e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 8 ]   T h e r e   m u s t   b e   a   S t a r t D a t e   i f   y o u   h a v e   a   S t a r t T i m e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d T i m e )   a n d   ( n o t ( c b c : E n d D a t e )   o r   c b c : E n d D a t e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d T i m e )   a n d   ( n o t ( c b c : E n d D a t e )   o r   c b c : E n d D a t e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 9 ]   T h e r e   m u s t   b e   a   E n d D a t e   i f   y o u   h a v e   a   E n d T i m e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : S t a r t D a t e   a n d   c b c : E n d D a t e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : S t a r t D a t e   a n d   c b c : E n d D a t e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 8 0 ]   T h e   E n d D a t e   m u s t   b e   g r e a t e r   o r   e q u a l   t o   t h e   s t a r t d a t e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : S t a r t T i m e   a n d   c b c : E n d T i m e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : S t a r t T i m e   a n d   c b c : E n d T i m e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 8 1 ]   E n d T i m e   m u s t   b e   g r e a t e r   o r   e q u a l   t o   S t a r t T i m e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 6 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : I n v o i c e P e r i o d / c b c : D e s c r i p t i o n "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 1 6 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( . . / c b c : D e s c r i p t i o n )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( . . / c b c : D e s c r i p t i o n )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 2 ]   T h e   a t t r i b u t e   l a n g u a g e I D   s h o u l d   b e   u s e d   w h e n   m o r e   t h a n   o n e   D e s c r i p t i o n   e l e m e n t   i s   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 3 ]   M u l t i l a n g u a g e   e r r o r .   R e p l i c a t e d   D e s c r i p t i o n   e l e m e n t s   w i t h   s a m e   l a n g u a g e I D   a t t r i b u t e   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 6 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 6 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 6 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 6 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 6 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   d i s c r e p a n c y r e s p o n s e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : D i s c r e p a n c y R e s p o n s e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 1 7 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : R e f e r e n c e I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : R e f e r e n c e I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 6 1 ]   I n v a l i d   R e f e r e n c e I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : R e s p o n s e C o d e   a n d   c b c : D e s c r i p t i o n " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : R e s p o n s e C o d e   a n d   c b c : D e s c r i p t i o n < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 8 8 ]   U s e   e i t h e r   R e s p o n s e C o d e   o r   D e s c r i p t i o n < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 7 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : D i s c r e p a n c y R e s p o n s e / c b c : R e s p o n s e C o d e "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 1 7 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t I D   ! =   $ D i s c r e p a n c y _ l i s t I D   o r   n o t ( . / @ l i s t I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t I D   ! =   $ D i s c r e p a n c y _ l i s t I D   o r   n o t ( . / @ l i s t I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 1 8 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ D i s c r e p a n c y _ l i s t I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " . / @ l i s t A g e n c y I D   ! =   $ D i s c r e p a n c y _ a g e n c y I D   o r   n o t ( . / @ l i s t A g e n c y I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > . / @ l i s t A g e n c y I D   ! =   $ D i s c r e p a n c y _ a g e n c y I D   o r   n o t ( . / @ l i s t A g e n c y I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 6 0 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ D i s c r e p a n c y _ a g e n c y I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o n t a i n s ( $ D i s c r e p a n c y ,   c o n c a t ( ' , ' , . , ' , ' ) ) "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o n t a i n s ( $ D i s c r e p a n c y ,   c o n c a t ( ' , ' , . , ' , ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 9 3 ]   I n v a l i d   R e s p o n s e C o d e :   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " . "   / >  
 < x s l : t e x t   / > ' .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 7 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : D i s c r e p a n c y R e s p o n s e / c b c : D e s c r i p t i o n "   p r i o r i t y = " 3 9 9 7 "   m o d e = " M 1 7 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( . . / c b c : D e s c r i p t i o n )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( . . / c b c : D e s c r i p t i o n )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 2 ]   T h e   a t t r i b u t e   l a n g u a g e I D   s h o u l d   b e   u s e d   w h e n   m o r e   t h a n   o n e   D e s c r i p t i o n   e l e m e n t   i s   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 3 ]   M u l t i l a n g u a g e   e r r o r .   R e p l i c a t e d   D e s c r i p t i o n   e l e m e n t s   w i t h   s a m e   l a n g u a g e I D   a t t r i b u t e   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 7 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 7 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 7 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 7 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 7 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   o r d e r r e f e r e n c e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : O r d e r R e f e r e n c e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 1 8 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 2 ]   I n v a l i d   I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 8 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : O r d e r R e f e r e n c e / c b c : U U I D "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 1 8 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " s t r i n g - l e n g t h ( s t r i n g ( . ) )   =   3 6 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > s t r i n g - l e n g t h ( s t r i n g ( . ) )   =   3 6 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 0 6 ]   I n v a l i d   < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " n a m e ( . ) "   / >  
 < x s l : t e x t   / > .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 8 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : O r d e r R e f e r e n c e / c a c : D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 7 "   m o d e = " M 1 8 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 8 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 8 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 8 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 8 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 8 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   b i l l i n g r e f e r e n c e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : B i l l i n g R e f e r e n c e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 1 9 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : D e b i t N o t e D o c u m e n t R e f e r e n c e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : D e b i t N o t e D o c u m e n t R e f e r e n c e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 3 ]   D e b i t N o t e D o c u m e n t R e f e r e n c e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : A d d i t i o n a l D o c u m e n t R e f e r e n c e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : A d d i t i o n a l D o c u m e n t R e f e r e n c e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 4 ]   A d d i t i o n a l D o c u m e n t R e f e r e n c e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : B i l l i n g R e f e r e n c e L i n e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : B i l l i n g R e f e r e n c e L i n e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 6 2 ]   B i l l i n g R e f e r e n c e L i n e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : B i l l i n g R e f e r e n c e / c a c : I n v o i c e D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 1 9 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : B i l l i n g R e f e r e n c e / c a c : S e l f B i l l e d I n v o i c e D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 7 "   m o d e = " M 1 9 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : B i l l i n g R e f e r e n c e / c a c : C r e d i t N o t e D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 6 "   m o d e = " M 1 9 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : B i l l i n g R e f e r e n c e / c a c : S e l f B i l l e d C r e d i t N o t e D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 5 "   m o d e = " M 1 9 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : B i l l i n g R e f e r e n c e / c a c : R e m i n d e r D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 4 "   m o d e = " M 1 9 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 1 9 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 1 9 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 1 9 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   d e s p a t c h d o c u m e n t r e f e r e n c e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : D e s p a t c h D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 2 0 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 0 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 2 0 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 2 0 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 2 0 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 2 0 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   r e c e i p t d o c u m e n t r e f e r e n c e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : R e c e i p t D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 2 1 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 1 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 2 1 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 2 1 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 2 1 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 2 1 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   c o n t r a c t d o c u m e n t r e f e r e n c e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : C o n t r a c t D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 2 2 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 0 ]   D o c u m e n t T y p e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D o c u m e n t T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 2 ]   D o c u m e n t T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 9 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 1 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 3 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 4 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 2 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 2 2 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 2 2 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 2 2 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 2 2 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   a d d i t i o n a l d o c u m e n t r e f e r e n c e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : A d d i t i o n a l D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 2 3 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : D o c u m e n t T y p e   o r   c b c : D o c u m e n t T y p e C o d e "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : D o c u m e n t T y p e   o r   c b c : D o c u m e n t T y p e C o d e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 2 ]   U s e   e i t h e r   D o c u m e n t T y p e   o r   D o c u m e n t T y p e C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 3 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : D o c u m e n t T y p e   a n d   c b c : D o c u m e n t T y p e C o d e   ! =   ' Z Z Z ' " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : D o c u m e n t T y p e   a n d   c b c : D o c u m e n t T y p e C o d e   ! =   ' Z Z Z ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 4 ]   U s e   e i t h e r   D o c u m e n t T y p e   o r   D o c u m e n t T y p e C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 5 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 7 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 8 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 7 9 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 3 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 2 3 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 2 3 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 2 3 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 2 3 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   s i g n a t u r e - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 5 ]   I n v a l i d   I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : M a r k C a r e I n d i c a t o r )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : M a r k C a r e I n d i c a t o r )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 6 ]   M a r k C a r e I n d i c a t o r   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : M a r k A t t e n t i o n I n d i c a t o r )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : M a r k A t t e n t i o n I n d i c a t o r )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 7 ]   M a r k A t t e n t i o n I n d i c a t o r   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : A g e n t P a r t y )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : A g e n t P a r t y )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 8 ]   A g e n t P a r t y   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( n o t ( c a c : P a r t y I d e n t i f i c a t i o n )   o r   c a c : P a r t y I d e n t i f i c a t i o n / c b c : I D   =   ' ' )   a n d   ( n o t ( c a c : P a r t y N a m e )   o r   c a c : P a r t y N a m e / c b c : N a m e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( n o t ( c a c : P a r t y I d e n t i f i c a t i o n )   o r   c a c : P a r t y I d e n t i f i c a t i o n / c b c : I D   =   ' ' )   a n d   ( n o t ( c a c : P a r t y N a m e )   o r   c a c : P a r t y N a m e / c b c : N a m e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 2 ]   P a r t y N a m e / N a m e   i s   m a n d a t o r y   i f   P a r t y I d e n t i f i c a t i o n / I D   i s   n o t   f o u n d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : E n d p o i n t I D   a n d   n o t ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : V A N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : E n d p o i n t I D   a n d   n o t ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : V A N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 9 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   a   v a l i d   s c h e m e   f o r   E n d p o i n t I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : E n d p o i n t I D ,   1 ,   2 )   ! =   ' D K ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : E n d p o i n t I D ,   1 ,   2 )   ! =   ' D K ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 0 ]   s c h e m e I D   =   D K : C V R ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   C V R   n u m b e r   ( D K 1 2 3 4 5 6 7 8 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 5 ]   s c h e m e I D   =   D K : C P R ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   C P R   n u m b e r   ( 1 2 3 4 5 6 0 0 0 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 1 ]   s c h e m e I D   =   G L N ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   G L N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 6 ]   s c h e m e I D   =   E A N ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   E A N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( c a c : P a r t y L e g a l E n t i t y )   & g t ;   1 " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : P a r t y L e g a l E n t i t y )   & g t ;   1 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 1 6 3 ]   N o   m o r e   t h a n   o n e   P a r t y L e g a l E n t i t y   c l a s s   m a y   b e   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P a r t y I d e n t i f i c a t i o n "   p r i o r i t y = " 3 9 9 7 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 '   o r   c b c : I D / @ s c h e m e I D   =   ' Z Z Z '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : T E L E F O N '   o r   c b c : I D / @ s c h e m e I D   =   ' F I : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : K T '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : V S K N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : E F O '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O B B '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O D I '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : V A T '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : V A T ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 '   o r   c b c : I D / @ s c h e m e I D   =   ' Z Z Z '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : T E L E F O N '   o r   c b c : I D / @ s c h e m e I D   =   ' F I : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : K T '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : V S K N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : E F O '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O B B '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O D I '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : V A T '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : V A T ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 3 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   a   v a l i d   s c h e m e   f o r   P a r t y I d e n t i f i c a t i o n / I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : I D ,   1 ,   2 )   ! =   ' D K ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : I D ,   1 ,   2 )   ! =   ' D K ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 4 ]   s c h e m e I D   =   D K : C V R ,   I D   m u s t   b e   a   v a l i d   C V R   n u m b e r   ( D K 1 2 3 4 5 6 7 8 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 7 ]   s c h e m e I D   =   D K : C P R ,   I D   m u s t   b e   a   v a l i d   C P R   n u m b e r   ( 1 2 3 4 5 6 0 0 0 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 5 ]   s c h e m e I D   =   G L N ,   I D   m u s t   b e   a   v a l i d   G L N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 8 ]   s c h e m e I D   =   E A N ,   I D   m u s t   b e   a   v a l i d   E A N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' D K : P ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' D K : P ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 8 7 ]   s c h e m e I D   =   D K : P ,   I D   m u s t   b e   a   v a l i d   P   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P a r t y N a m e "   p r i o r i t y = " 3 9 9 6 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( . . / c a c : P a r t y N a m e )   & g t ;   1   a n d   n o t ( . / c b c : N a m e / @ l a n g u a g e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( . . / c a c : P a r t y N a m e )   & g t ;   1   a n d   n o t ( . / c b c : N a m e / @ l a n g u a g e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 1 9 ]   T h e   a t t r i b u t e   N a m e @ l a n g u a g e I D   s h o u l d   b e   u s e d   w h e n   m o r e   t h a n   o n e   P a r t y N a m e   c l a s s   i s   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / c b c : N a m e / @ l a n g u a g e I D   =   s e l f : : * / c b c : N a m e / @ l a n g u a g e I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / c b c : N a m e / @ l a n g u a g e I D   =   s e l f : : * / c b c : N a m e / @ l a n g u a g e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 0 ]   M u l t i l a n g u a g e   e r r o r .   R e p l i c a t e d   P a r t y N a m e   c l a s s e s   w i t h   s a m e   N a m e @ l a n g u a g e I D   a t t r i b u t e   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P o s t a l A d d r e s s "   p r i o r i t y = " 3 9 9 5 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : B l o c k N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : B l o c k N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 0 ]   B l o c k N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : T i m e z o n e O f f s e t )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : T i m e z o n e O f f s e t )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 1 ]   T i m e z o n e O f f s e t   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : L o c a t i o n C o o r d i n a t e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : L o c a t i o n C o o r d i n a t e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 2 ]   L o c a t i o n C o o r d i n a t e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : A d d r e s s F o r m a t C o d e )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : A d d r e s s F o r m a t C o d e )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 5 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 4 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 5 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 3 2 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e   =   ' H o m e '   o r   c b c : A d d r e s s T y p e C o d e   =   ' B u s i n e s s '   ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e   =   ' H o m e '   o r   c b c : A d d r e s s T y p e C o d e   =   ' B u s i n e s s '   ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 6 ]   I n v a l i d   A d d r e s s T y p e C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   e i t h e r   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   ' U N / E C E   3 4 7 7 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 3 2 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 7 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 6 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 6 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 8 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 6 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' 1 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 2 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 3 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 4 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 5 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 6 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 7 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 8 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 9 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' 1 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 2 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 3 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 4 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 5 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 6 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 7 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 8 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 9 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 9 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : C o u n t r y   a n d   n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : C o u n t r y   a n d   n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 3 ]   W h e n   C o u n t r y   i s   u s e d   t h e   e l e m e n t   C o u n t r y / I d e n t i f i c a t i o n C o d e   m u s t   b e   f i l l e d   o u t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 1 ]   A n   U n s t r u c t u r e d   a d d r e s s   i s   o n l y   a l l o w e d   t o   h a v e   A d d r e s s L i n e   e l e m e n t s < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   c a c : A d d r e s s L i n e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   c a c : A d d r e s s L i n e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 2 ]   A d d r e s s L i n e   e l e m e n t s   n o t   a l l o w e d   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( n o t ( c b c : P o s t a l Z o n e )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t a l Z o n e )   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( n o t ( c b c : P o s t a l Z o n e )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t a l Z o n e )   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 3 ]   P o s t a l Z o n e   i s   m a n d a t o r y   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : S t r e e t N a m e )   o r   n o r m a l i z e - s p a c e ( c b c : S t r e e t N a m e )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : S t r e e t N a m e )   o r   n o r m a l i z e - s p a c e ( c b c : S t r e e t N a m e )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 4 ]   T h e r e   s h o u l d   b e   e i t h e r   a   S t r e e t N a m e   o r   a   P o s t b o x   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : B u i l d i n g N u m b e r )   o r   n o r m a l i z e - s p a c e ( c b c : B u i l d i n g N u m b e r )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : B u i l d i n g N u m b e r )   o r   n o r m a l i z e - s p a c e ( c b c : B u i l d i n g N u m b e r )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 5 ]   T h e r e   s h o u l d   b e   e i t h e r   a   B u i l d i n g N u m b e r   o r   a   P o s t b o x   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x ' )   a n d   c a c : A d d r e s s L i n e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x ' )   a n d   c a c : A d d r e s s L i n e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 6 ]   A d d r e s s L i n e   e l e m e n t s   n o t   a l l o w e d   f o r   a   S t r u c t u r e d L a x   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 7 ]   I D   i s   r e q u i r e d   f o r   a   S t r u c t u r e d I D   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 8 ]   O n l y   t h e   I D   i s   u s e d   f o r   a   S t r u c t u r e d I D   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( ( n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e )   o r   c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   =   ' ' )   a n d   ( n o t ( c b c : R e g i o n )   o r   c b c : R e g i o n   =   ' ' )   a n d   ( n o t ( c b c : D i s t r i c t )   o r   c b c : D i s t r i c t   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( ( n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e )   o r   c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   =   ' ' )   a n d   ( n o t ( c b c : R e g i o n )   o r   c b c : R e g i o n   =   ' ' )   a n d   ( n o t ( c b c : D i s t r i c t )   o r   c b c : D i s t r i c t   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 9 ]   R e g i o n   o r   D i s t r i c t   o r   C o u n t r y / I d e n t i f i c a t i o n C o d e   i s   r e q u i r e d   f o r   a   S t r u c t u r e d R e g i o n   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 0 ]   O n l y   R e g i o n ,   D i s t r i c t ,   a n d / o r   C o u n t r y / I d e n t i f i c a t i o n C o d e   c a n   b e   u s e d   f o r   a   S t r u c t u r e d R e g i o n   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : I D   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D / @ s c h e m e I D ) & g t ; 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D / @ s c h e m e I D ) & g t ; 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 8 ]   W h e n   I D   i s   u s e d   u n d e r   A d d r e s s   t h e   a t t r i b u t e   s c h e m e I D   i s   u s e d   t o   g i v e   a n   a d d r e s s r e g i s t e r < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : I D   a n d   n o t ( c b c : I D / @ s c h e m e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D   a n d   n o t ( c b c : I D / @ s c h e m e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 9 ]   s c h e m e I D   a t t r i b u t e   m u s t   b e   p r e s e n t   o n   a n   a d d r e s s   I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : P o s t b o x   a n d   n o t ( n u m b e r ( c b c : P o s t b o x ) = ( ( c b c : P o s t b o x   +   1 ) - 1 ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P o s t b o x   a n d   n o t ( n u m b e r ( c b c : P o s t b o x ) = ( ( c b c : P o s t b o x   +   1 ) - 1 ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 0 ]   T h e   v a l u e   o f   P o s t b o x   m u s t   a l w a y s   b e   a   n u m b e r < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P h y s i c a l L o c a t i o n "   p r i o r i t y = " 3 9 9 4 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' )   a n d   ( c o u n t ( c a c : A d d r e s s )   =   0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' )   a n d   ( c o u n t ( c a c : A d d r e s s )   =   0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 2 1 ]   I f   I D   n o t   s p e c i f i e d ,   A d d r e s s   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P h y s i c a l L o c a t i o n / c a c : V a l i d i t y P e r i o d "   p r i o r i t y = " 3 9 9 3 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D u r a t i o n M e a s u r e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D u r a t i o n M e a s u r e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 6 ]   D u r a t i o n M e a s u r e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D e s c r i p t i o n C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D e s c r i p t i o n C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 7 ]   D e s c r i p t i o n C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : S t a r t T i m e )   a n d   ( n o t ( c b c : S t a r t D a t e )   o r   c b c : S t a r t D a t e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : S t a r t T i m e )   a n d   ( n o t ( c b c : S t a r t D a t e )   o r   c b c : S t a r t D a t e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 8 ]   T h e r e   m u s t   b e   a   S t a r t D a t e   i f   y o u   h a v e   a   S t a r t T i m e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d T i m e )   a n d   ( n o t ( c b c : E n d D a t e )   o r   c b c : E n d D a t e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d T i m e )   a n d   ( n o t ( c b c : E n d D a t e )   o r   c b c : E n d D a t e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 9 ]   T h e r e   m u s t   b e   a   E n d D a t e   i f   y o u   h a v e   a   E n d T i m e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : S t a r t D a t e   a n d   c b c : E n d D a t e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : S t a r t D a t e   a n d   c b c : E n d D a t e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d D a t e , ' - ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t D a t e , ' - ' , ' ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 8 0 ]   T h e   E n d D a t e   m u s t   b e   g r e a t e r   o r   e q u a l   t o   t h e   s t a r t d a t e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : S t a r t T i m e   a n d   c b c : E n d T i m e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : S t a r t T i m e   a n d   c b c : E n d T i m e )   a n d   n o t ( n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   & g t ;   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) )   o r   n u m b e r ( t r a n s l a t e ( c b c : E n d T i m e , ' : ' , ' ' ) )   =   n u m b e r ( t r a n s l a t e ( c b c : S t a r t T i m e , ' : ' , ' ' ) ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 8 1 ]   E n d T i m e   m u s t   b e   g r e a t e r   o r   e q u a l   t o   S t a r t T i m e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P h y s i c a l L o c a t i o n / c a c : V a l i d i t y P e r i o d / c b c : D e s c r i p t i o n "   p r i o r i t y = " 3 9 9 2 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( . . / c b c : D e s c r i p t i o n )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( . . / c b c : D e s c r i p t i o n )   & g t ;   1   a n d   n o t ( . / @ l a n g u a g e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 2 ]   T h e   a t t r i b u t e   l a n g u a g e I D   s h o u l d   b e   u s e d   w h e n   m o r e   t h a n   o n e   D e s c r i p t i o n   e l e m e n t   i s   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / @ l a n g u a g e I D   =   s e l f : : * / @ l a n g u a g e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 3 ]   M u l t i l a n g u a g e   e r r o r .   R e p l i c a t e d   D e s c r i p t i o n   e l e m e n t s   w i t h   s a m e   l a n g u a g e I D   a t t r i b u t e   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P h y s i c a l L o c a t i o n / c a c : A d d r e s s "   p r i o r i t y = " 3 9 9 1 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : B l o c k N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : B l o c k N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 0 ]   B l o c k N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : T i m e z o n e O f f s e t )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : T i m e z o n e O f f s e t )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 1 ]   T i m e z o n e O f f s e t   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : L o c a t i o n C o o r d i n a t e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : L o c a t i o n C o o r d i n a t e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 2 ]   L o c a t i o n C o o r d i n a t e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : A d d r e s s F o r m a t C o d e )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : A d d r e s s F o r m a t C o d e )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 5 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 4 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 5 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 3 2 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e   =   ' H o m e '   o r   c b c : A d d r e s s T y p e C o d e   =   ' B u s i n e s s '   ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e   =   ' H o m e '   o r   c b c : A d d r e s s T y p e C o d e   =   ' B u s i n e s s '   ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 6 ]   I n v a l i d   A d d r e s s T y p e C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   e i t h e r   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   ' U N / E C E   3 4 7 7 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 3 2 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 7 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 6 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 6 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 8 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 6 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' 1 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 2 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 3 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 4 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 5 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 6 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 7 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 8 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 9 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' 1 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 2 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 3 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 4 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 5 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 6 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 7 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 8 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 9 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 9 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : C o u n t r y   a n d   n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : C o u n t r y   a n d   n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 3 ]   W h e n   C o u n t r y   i s   u s e d   t h e   e l e m e n t   C o u n t r y / I d e n t i f i c a t i o n C o d e   m u s t   b e   f i l l e d   o u t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 1 ]   A n   U n s t r u c t u r e d   a d d r e s s   i s   o n l y   a l l o w e d   t o   h a v e   A d d r e s s L i n e   e l e m e n t s < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   c a c : A d d r e s s L i n e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   c a c : A d d r e s s L i n e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 2 ]   A d d r e s s L i n e   e l e m e n t s   n o t   a l l o w e d   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( n o t ( c b c : P o s t a l Z o n e )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t a l Z o n e )   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( n o t ( c b c : P o s t a l Z o n e )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t a l Z o n e )   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 3 ]   P o s t a l Z o n e   i s   m a n d a t o r y   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : S t r e e t N a m e )   o r   n o r m a l i z e - s p a c e ( c b c : S t r e e t N a m e )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : S t r e e t N a m e )   o r   n o r m a l i z e - s p a c e ( c b c : S t r e e t N a m e )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 4 ]   T h e r e   s h o u l d   b e   e i t h e r   a   S t r e e t N a m e   o r   a   P o s t b o x   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : B u i l d i n g N u m b e r )   o r   n o r m a l i z e - s p a c e ( c b c : B u i l d i n g N u m b e r )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : B u i l d i n g N u m b e r )   o r   n o r m a l i z e - s p a c e ( c b c : B u i l d i n g N u m b e r )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 5 ]   T h e r e   s h o u l d   b e   e i t h e r   a   B u i l d i n g N u m b e r   o r   a   P o s t b o x   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x ' )   a n d   c a c : A d d r e s s L i n e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x ' )   a n d   c a c : A d d r e s s L i n e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 6 ]   A d d r e s s L i n e   e l e m e n t s   n o t   a l l o w e d   f o r   a   S t r u c t u r e d L a x   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 7 ]   I D   i s   r e q u i r e d   f o r   a   S t r u c t u r e d I D   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 8 ]   O n l y   t h e   I D   i s   u s e d   f o r   a   S t r u c t u r e d I D   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( ( n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e )   o r   c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   =   ' ' )   a n d   ( n o t ( c b c : R e g i o n )   o r   c b c : R e g i o n   =   ' ' )   a n d   ( n o t ( c b c : D i s t r i c t )   o r   c b c : D i s t r i c t   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( ( n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e )   o r   c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   =   ' ' )   a n d   ( n o t ( c b c : R e g i o n )   o r   c b c : R e g i o n   =   ' ' )   a n d   ( n o t ( c b c : D i s t r i c t )   o r   c b c : D i s t r i c t   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 9 ]   R e g i o n   o r   D i s t r i c t   o r   C o u n t r y / I d e n t i f i c a t i o n C o d e   i s   r e q u i r e d   f o r   a   S t r u c t u r e d R e g i o n   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 0 ]   O n l y   R e g i o n ,   D i s t r i c t ,   a n d / o r   C o u n t r y / I d e n t i f i c a t i o n C o d e   c a n   b e   u s e d   f o r   a   S t r u c t u r e d R e g i o n   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : I D   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D / @ s c h e m e I D ) & g t ; 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D / @ s c h e m e I D ) & g t ; 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 8 ]   W h e n   I D   i s   u s e d   u n d e r   A d d r e s s   t h e   a t t r i b u t e   s c h e m e I D   i s   u s e d   t o   g i v e   a n   a d d r e s s r e g i s t e r < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : I D   a n d   n o t ( c b c : I D / @ s c h e m e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D   a n d   n o t ( c b c : I D / @ s c h e m e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 9 ]   s c h e m e I D   a t t r i b u t e   m u s t   b e   p r e s e n t   o n   a n   a d d r e s s   I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : P o s t b o x   a n d   n o t ( n u m b e r ( c b c : P o s t b o x ) = ( ( c b c : P o s t b o x   +   1 ) - 1 ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : P o s t b o x   a n d   n o t ( n u m b e r ( c b c : P o s t b o x ) = ( ( c b c : P o s t b o x   +   1 ) - 1 ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 0 ]   T h e   v a l u e   o f   P o s t b o x   m u s t   a l w a y s   b e   a   n u m b e r < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P a r t y T a x S c h e m e "   p r i o r i t y = " 3 9 9 0 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : T a x L e v e l C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : T a x L e v e l C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 2 ]   T a x L e v e l C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 3 ]   I n v a l i d   C o m p a n y I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : C o m p a n y I D / @ s c h e m e I D   =   ' Z Z Z '   "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : C o m p a n y I D / @ s c h e m e I D   =   ' Z Z Z ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 5 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   a   v a l i d   s c h e m e   f o r   P a r t y T a x S c h e m e / C o m p a n y I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : S E ' )   a n d   ( s t r i n g - l e n g t h ( n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D ) )   ! =   1 0   o r   s u b s t r i n g ( c b c : C o m p a n y I D ,   1 ,   2 )   ! =   ' D K ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : S E ' )   a n d   ( s t r i n g - l e n g t h ( n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D ) )   ! =   1 0   o r   s u b s t r i n g ( c b c : C o m p a n y I D ,   1 ,   2 )   ! =   ' D K ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 6 ]   s c h e m e I D   =   D K : S E ,   C o m p a n y I D   m u s t   b e   a   v a l i d   S E   n u m b e r   ( D K 1 2 3 4 5 6 7 8 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P a r t y T a x S c h e m e / c a c : T a x S c h e m e "   p r i o r i t y = " 3 9 8 9 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : I D )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : I D )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 1 ]   I D   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : A d d r e s s T y p e C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : A d d r e s s T y p e C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 2 ]   A d d r e s s T y p e C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : P o s t b o x )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : P o s t b o x )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 3 ]   P o s t b o x   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : F l o o r )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : F l o o r )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 4 ]   F l o o r   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : R o o m )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : R o o m )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 5 ]   R o o m   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : S t r e e t N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : S t r e e t N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 6 ]   S t r e e t N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : A d d i t i o n a l S t r e e t N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : A d d i t i o n a l S t r e e t N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 7 ]   A d d i t i o n a l S t r e e t N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : B l o c k N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : B l o c k N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 8 ]   B l o c k N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : B u i l d i n g N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : B u i l d i n g N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 4 9 ]   B u i l d i n g N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : B u i l d i n g N u m b e r )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : B u i l d i n g N u m b e r )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 0 ]   B u i l d i n g N u m b e r   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : I n h o u s e M a i l )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : I n h o u s e M a i l )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 1 ]   I n h o u s e M a i l   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : D e p a r t m e n t )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : D e p a r t m e n t )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 2 ]   D e p a r t m e n t   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : M a r k A t t e n t i o n )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : M a r k A t t e n t i o n )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 3 ]   M a r k A t t e n t i o n   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : M a r k C a r e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : M a r k C a r e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 4 ]   M a r k C a r e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : P l o t I d e n t i f i c a t i o n )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : P l o t I d e n t i f i c a t i o n )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 5 ]   P l o t I d e n t i f i c a t i o n   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C i t y S u b d i v i s i o n N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C i t y S u b d i v i s i o n N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 6 ]   C i t y S u b d i v i s i o n N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C i t y N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C i t y N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 7 ]   C i t y N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : P o s t a l Z o n e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : P o s t a l Z o n e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 8 ]   P o s t a l Z o n e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C o u n t r y S u b e n t i t y )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C o u n t r y S u b e n t i t y )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 5 9 ]   C o u n t r y S u b e n t i t y   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C o u n t r y S u b e n t i t y C o d e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : C o u n t r y S u b e n t i t y C o d e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 6 0 ]   C o u n t r y S u b e n t i t y C o d e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : T i m e z o n e O f f s e t )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : T i m e z o n e O f f s e t )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 6 3 ]   T i m e z o n e O f f s e t   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c a c : A d d r e s s L i n e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c a c : A d d r e s s L i n e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 3 4 ]   A d d r e s s L i n e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c a c : L o c a t i o n C o o r d i n a t e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c a c : L o c a t i o n C o o r d i n a t e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 6 4 ]   L o c a t i o n C o o r d i n a t e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D   =   ' 6 3 ' )   a n d   c b c : T a x T y p e C o d e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D   =   ' 6 3 ' )   a n d   c b c : T a x T y p e C o d e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 6 7 ]   T a x T y p e C o d e   i s   n o t   a l l o w e d   w h e n   T a x S c h e m e / I D   e q u a l s   ' 6 3 '   ( M o m s ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 6 5 ]   I n v a l i d   I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : N a m e )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : N a m e )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 6 6 ]   I n v a l i d   N a m e .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D   ! =   ' 6 3 ' )   a n d   n o t ( c b c : T a x T y p e C o d e ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D   ! =   ' 6 3 ' )   a n d   n o t ( c b c : T a x T y p e C o d e ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 7 ]   T a x T y p e C o d e   i s   m a n d a t o r y   w h e n   T a x S c h e m e / I D   i s   d i f f e r e n t   f r o m   ' 6 3 '   ( M o m s ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : I D / @ s c h e m e I D   =   $ T a x S c h e m e _ s c h e m e I D   o r   c b c : I D / @ s c h e m e I D   =   $ T a x S c h e m e 2 _ s c h e m e I D "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D / @ s c h e m e I D   =   $ T a x S c h e m e _ s c h e m e I D   o r   c b c : I D / @ s c h e m e I D   =   $ T a x S c h e m e 2 _ s c h e m e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 0 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ T a x S c h e m e _ s c h e m e I D "   / >  
 < x s l : t e x t   / > '   o r   ' < x s l : t e x t   / >  
 < x s l : v a l u e - o f   s e l e c t = " $ T a x S c h e m e 2 _ s c h e m e I D "   / >  
 < x s l : t e x t   / > ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : T a x T y p e C o d e )   a n d   n o t ( c b c : T a x T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : t a x t y p e c o d e - 1 . 1 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : T a x T y p e C o d e )   a n d   n o t ( c b c : T a x T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : t a x t y p e c o d e - 1 . 1 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 7 1 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' u r n : o i o u b l : c o d e l i s t : t a x t y p e c o d e - 1 . 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D   =   ' 6 3 ' )   a n d   c b c : N a m e   ! =   ' M o m s ' " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D   =   ' 6 3 ' )   a n d   c b c : N a m e   ! =   ' M o m s ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 8 ]   N a m e   m u s t   e q u a l   ' M o m s '   w h e n     T a x S c h e m e / I D   e q u a l s   ' 6 3 '   ( M o m s ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D   ! =   ' 6 3 ' )   a n d   c b c : N a m e   =   ' M o m s ' " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D   ! =   ' 6 3 ' )   a n d   c b c : N a m e   =   ' M o m s ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 9 ]   N a m e   m u s t   c o r r e s p o n d   t o   t h e   v a l u e   o f   T a x S c h e m e / I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s )   a n d   c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : A d d r e s s F o r m a t C o d e   ! =   ' S t r u c t u r e d R e g i o n ' " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c a c : J u r i s d i c t i o n R e g i o n A d d r e s s )   a n d   c a c : J u r i s d i c t i o n R e g i o n A d d r e s s / c b c : A d d r e s s F o r m a t C o d e   ! =   ' S t r u c t u r e d R e g i o n ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 3 3 ]   T h e   A d d r e s s F o r m a t C o d e   u n d e r   J u r i s d i c t i o n R e g i o n A d d r e s s   m u s t   a l w a y s   e q u a l   ' S t r u c t u r e d R e g i o n ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P a r t y L e g a l E n t i t y "   p r i o r i t y = " 3 9 8 8 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : C o r p o r a t e R e g i s t r a t i o n S c h e m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : C o r p o r a t e R e g i s t r a t i o n S c h e m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 6 ]   C o r p o r a t e R e g i s t r a t i o n S c h e m e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 7 ]   I n v a l i d   C o m p a n y I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : C o m p a n y I D / @ s c h e m e I D   =   ' Z Z Z ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : C o m p a n y I D / @ s c h e m e I D   =   ' Z Z Z ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 9 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   a   v a l i d   s c h e m e   f o r   P a r t y L e g a l E n t i t y / C o m p a n y I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D ) )   ! =   1 0   o r   s u b s t r i n g ( c b c : C o m p a n y I D ,   1 ,   2 )   ! =   ' D K ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( n o r m a l i z e - s p a c e ( c b c : C o m p a n y I D ) )   ! =   1 0   o r   s u b s t r i n g ( c b c : C o m p a n y I D ,   1 ,   2 )   ! =   ' D K ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 0 ]   s c h e m e I D   =   D K : C V R ,   C o m p a n y I D   m u s t   b e   a   v a l i d   C V R   n u m b e r   ( D K 1 2 3 4 5 6 7 8 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : C o m p a n y I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : C o m p a n y I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : C o m p a n y I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 9 1 ]   s c h e m e I D   =   D K : C P R ,   C o m p a n y I D   m u s t   b e   a   v a l i d   C P R   n u m b e r   ( 1 2 3 4 5 6 0 0 0 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : C o n t a c t "   p r i o r i t y = " 3 9 8 7 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' )   a n d   ( n o t ( c b c : N a m e )   o r   c b c : N a m e   =   ' ' )   a n d   ( n o t ( c b c : T e l e p h o n e )   o r   c b c : T e l e p h o n e   =   ' ' )   a n d   ( n o t ( c b c : T e l e f a x )   o r   c b c : T e l e f a x   =   ' ' )   a n d   ( n o t ( c b c : E l e c t r o n i c M a i l )   o r   c b c : E l e c t r o n i c M a i l   =   ' ' )   a n d   ( n o t ( c b c : N o t e )   o r   c b c : N o t e   =   ' ' )   a n d   n o t ( c a c : O t h e r C o m m u n i c a t i o n ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' )   a n d   ( n o t ( c b c : N a m e )   o r   c b c : N a m e   =   ' ' )   a n d   ( n o t ( c b c : T e l e p h o n e )   o r   c b c : T e l e p h o n e   =   ' ' )   a n d   ( n o t ( c b c : T e l e f a x )   o r   c b c : T e l e f a x   =   ' ' )   a n d   ( n o t ( c b c : E l e c t r o n i c M a i l )   o r   c b c : E l e c t r o n i c M a i l   =   ' ' )   a n d   ( n o t ( c b c : N o t e )   o r   c b c : N o t e   =   ' ' )   a n d   n o t ( c a c : O t h e r C o m m u n i c a t i o n ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 3 5 ]   A t   l e a s t   o n e   f i e l d   s h o u l d   b e   s p e c i f i e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : O t h e r C o m m u n i c a t i o n / c b c : C h a n n e l C o d e   a n d   c a c : O t h e r C o m m u n i c a t i o n / c b c : C h a n n e l " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : O t h e r C o m m u n i c a t i o n / c b c : C h a n n e l C o d e   a n d   c a c : O t h e r C o m m u n i c a t i o n / c b c : C h a n n e l < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 3 6 ]   U s e   e i t h e r   C h a n n e l C o d e   o r   C h a n n e l < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : O t h e r C o m m u n i c a t i o n   a n d   n o t ( n o r m a l i z e - s p a c e ( c a c : O t h e r C o m m u n i c a t i o n / c b c : V a l u e )   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : O t h e r C o m m u n i c a t i o n   a n d   n o t ( n o r m a l i z e - s p a c e ( c a c : O t h e r C o m m u n i c a t i o n / c b c : V a l u e )   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 3 7 ]   I n v a l i d   V a l u e .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : S i g n a t o r y P a r t y / c a c : P e r s o n "   p r i o r i t y = " 3 9 8 6 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( n o t ( c b c : F a m i l y N a m e )   o r   c b c : F a m i l y N a m e   =   ' ' )   a n d   ( n o t ( c b c : F i r s t N a m e )   o r   c b c : F i r s t N a m e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( n o t ( c b c : F a m i l y N a m e )   o r   c b c : F a m i l y N a m e   =   ' ' )   a n d   ( n o t ( c b c : F i r s t N a m e )   o r   c b c : F i r s t N a m e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 4 ]   T h e r e   m u s t   b e   a   F i r s t N a m e   i f   t h e   F a m i l y N a m e   i s   n o t   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : D i g i t a l S i g n a t u r e A t t a c h m e n t "   p r i o r i t y = " 3 9 8 5 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 8 4 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 8 5 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 8 6 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : S i g n a t u r e / c a c : O r i g i n a l D o c u m e n t R e f e r e n c e "   p r i o r i t y = " 3 9 8 4 "   m o d e = " M 2 4 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : D o c u m e n t T y p e   o r   c b c : D o c u m e n t T y p e C o d e "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : D o c u m e n t T y p e   o r   c b c : D o c u m e n t T y p e C o d e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 2 ]   U s e   e i t h e r   D o c u m e n t T y p e   o r   D o c u m e n t T y p e C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t   a n d   c b c : X P a t h " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t   a n d   c b c : X P a t h < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 3 ]   U s e   e i t h e r   A t t a c h m e n t   o r   X P a t h < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : D o c u m e n t T y p e   a n d   c b c : D o c u m e n t T y p e C o d e   ! =   ' Z Z Z ' " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : D o c u m e n t T y p e   a n d   c b c : D o c u m e n t T y p e C o d e   ! =   ' Z Z Z ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 4 ]   U s e   e i t h e r   D o c u m e n t T y p e   o r   D o c u m e n t T y p e C o d e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 5 ]   U s e   e i t h e r   E m b e d d e d D o c u m e n t B i n a r y O b j e c t   o r   E x t e r n a l R e f e r e n c e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : U U I D   a n d   n o t ( s t r i n g - l e n g t h ( s t r i n g ( c b c : U U I D ) )   =   3 6 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 7 ]   I n v a l i d   U U I D .   M u s t   b e   o f   t h i s   f o r m   ' 6 E 0 9 8 8 6 B - D C 6 E - 4 3 9 F - 8 2 D 1 - 7 C C A C 7 F 4 E 3 B 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t   a n d   n o t ( c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / t i f f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / p n g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / j p e g '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' i m a g e / g i f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' a p p l i c a t i o n / p d f '   o r   c a c : A t t a c h m e n t / c b c : E m b e d d e d D o c u m e n t B i n a r y O b j e c t / @ m i m e C o d e = ' t e x t / x m l ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 9 8 ]   A t t r i b u t e   m i m e C o d e   m u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e   a n d   n o t ( c a c : A t t a c h m e n t / c a c : E x t e r n a l R e f e r e n c e / c b c : U R I   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 7 9 ]   W h e n   u s i n g   E x t e r n a l R e f e r e n c e ,   U R I   i s   m a n d a t o r y < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : t e m p l a t e >  
 < x s l : t e m p l a t e   m a t c h = " t e x t ( ) "   p r i o r i t y = " - 1 "   m o d e = " M 2 4 "   / >  
 < x s l : t e m p l a t e   m a t c h = " @ * | n o d e ( ) "   p r i o r i t y = " - 2 "   m o d e = " M 2 4 " >  
 < x s l : c h o o s e >  
 < ! - - H o u s e k e e p i n g :   S A X O N   w a r n s   i f   a t t e m p t i n g   t o   f i n d   t h e   a t t r i b u t e  
                                                       o f   a n   a t t r i b u t e - - >  
 < x s l : w h e n   t e s t = " n o t ( @ * ) " >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " n o d e ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : w h e n >  
 < x s l : o t h e r w i s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | n o d e ( ) "   m o d e = " M 2 4 "   / >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < / x s l : t e m p l a t e >  
  
 < ! - - P A T T E R N   a c c o u n t i n g s u p p l i e r p a r t y - - >  
  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : A c c o u n t i n g S u p p l i e r P a r t y "   p r i o r i t y = " 3 9 9 9 "   m o d e = " M 2 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : D a t a S e n d i n g C a p a b i l i t y )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : D a t a S e n d i n g C a p a b i l i t y )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 6 ]   D a t a S e n d i n g C a p a b i l i t y   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : P a r t y )   =   1 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : P a r t y )   =   1 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 7 ]   P a r t y   c l a s s   m u s t   b e   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : A c c o u n t i n g S u p p l i e r P a r t y / c a c : P a r t y "   p r i o r i t y = " 3 9 9 8 "   m o d e = " M 2 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : M a r k C a r e I n d i c a t o r )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : M a r k C a r e I n d i c a t o r )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 6 ]   M a r k C a r e I n d i c a t o r   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : M a r k A t t e n t i o n I n d i c a t o r )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : M a r k A t t e n t i o n I n d i c a t o r )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 7 ]   M a r k A t t e n t i o n I n d i c a t o r   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : A g e n t P a r t y )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : A g e n t P a r t y )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 6 8 ]   A g e n t P a r t y   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : E n d p o i n t I D )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : E n d p o i n t I D )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 2 8 ]   I n v a l i d   E n d p o i n t I D .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : P a r t y L e g a l E n t i t y )   =   1 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : P a r t y L e g a l E n t i t y )   =   1 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - C R N 0 3 1 ]   O n e   P a r t y L e g a l E n t i t y   c l a s s   m u s t   b e   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( n o t ( c a c : P a r t y I d e n t i f i c a t i o n )   o r   c a c : P a r t y I d e n t i f i c a t i o n / c b c : I D   =   ' ' )   a n d   ( n o t ( c a c : P a r t y N a m e )   o r   c a c : P a r t y N a m e / c b c : N a m e   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( n o t ( c a c : P a r t y I d e n t i f i c a t i o n )   o r   c a c : P a r t y I d e n t i f i c a t i o n / c b c : I D   =   ' ' )   a n d   ( n o t ( c a c : P a r t y N a m e )   o r   c a c : P a r t y N a m e / c b c : N a m e   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 2 ]   P a r t y N a m e / N a m e   i s   m a n d a t o r y   i f   P a r t y I d e n t i f i c a t i o n / I D   i s   n o t   f o u n d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : E n d p o i n t I D   a n d   n o t ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : V A N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : E n d p o i n t I D   a n d   n o t ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : V A N S '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 7 9 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   a   v a l i d   s c h e m e   f o r   E n d p o i n t I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : E n d p o i n t I D ,   1 ,   2 )   ! =   ' D K ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : E n d p o i n t I D ,   1 ,   2 )   ! =   ' D K ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 0 ]   s c h e m e I D   =   D K : C V R ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   C V R   n u m b e r   ( D K 1 2 3 4 5 6 7 8 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 5 ]   s c h e m e I D   =   D K : C P R ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   C P R   n u m b e r   ( 1 2 3 4 5 6 0 0 0 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 1 ]   s c h e m e I D   =   G L N ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   G L N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : E n d p o i n t I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : E n d p o i n t I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 6 ]   s c h e m e I D   =   E A N ,   E n d p o i n t I D   m u s t   b e   a   v a l i d   E A N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : A c c o u n t i n g S u p p l i e r P a r t y / c a c : P a r t y / c a c : P a r t y I d e n t i f i c a t i o n "   p r i o r i t y = " 3 9 9 7 "   m o d e = " M 2 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 '   o r   c b c : I D / @ s c h e m e I D   =   ' Z Z Z '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : T E L E F O N '   o r   c b c : I D / @ s c h e m e I D   =   ' F I : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : K T '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : V S K N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : E F O '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O B B '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O D I '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : V A T '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : V A T ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : I D / @ s c h e m e I D   =   ' D U N S '   o r   c b c : I D / @ s c h e m e I D   =   ' G L N '   o r   c b c : I D / @ s c h e m e I D   =   ' I B A N '   o r   c b c : I D / @ s c h e m e I D   =   ' I S O   6 5 2 3 '   o r   c b c : I D / @ s c h e m e I D   =   ' Z Z Z '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C P R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : C V R '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : P '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : S E '   o r   c b c : I D / @ s c h e m e I D   =   ' D K : T E L E F O N '   o r   c b c : I D / @ s c h e m e I D   =   ' F I : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : K T '   o r   c b c : I D / @ s c h e m e I D   =   ' I S : V S K N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : E F O '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O B B '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : N O D I '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' N O : V A T '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : O R G N R '   o r   c b c : I D / @ s c h e m e I D   =   ' S E : V A T ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 3 ]   I n v a l i d   s c h e m e I D .   M u s t   b e   a   v a l i d   s c h e m e   f o r   P a r t y I d e n t i f i c a t i o n / I D < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : I D ,   1 ,   2 )   ! =   ' D K ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' D K : C V R ' )   a n d   ( s t r i n g - l e n g t h ( c b c : I D )   ! =   1 0   o r   s u b s t r i n g ( c b c : I D ,   1 ,   2 )   ! =   ' D K ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 4 ]   s c h e m e I D   =   D K : C V R ,   I D   m u s t   b e   a   v a l i d   C V R   n u m b e r   ( D K 1 2 3 4 5 6 7 8 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' D K : C P R ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 7 ]   s c h e m e I D   =   D K : C P R ,   I D   m u s t   b e   a   v a l i d   C P R   n u m b e r   ( 1 2 3 4 5 6 0 0 0 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' G L N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 1 8 5 ]   s c h e m e I D   =   G L N ,   I D   m u s t   b e   a   v a l i d   G L N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' E A N ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 3 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 8 ]   s c h e m e I D   =   E A N ,   I D   m u s t   b e   a   v a l i d   E A N   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 1 2 3 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : I D / @ s c h e m e I D   =   ' D K : P ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : I D / @ s c h e m e I D   =   ' D K : P ' )   a n d   n o t ( s t r i n g - l e n g t h ( c b c : I D )   =   1 0 ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 8 7 ]   s c h e m e I D   =   D K : P ,   I D   m u s t   b e   a   v a l i d   P   n u m b e r   ( 1 2 3 4 5 6 7 8 9 0 ) < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : A c c o u n t i n g S u p p l i e r P a r t y / c a c : P a r t y / c a c : P a r t y N a m e "   p r i o r i t y = " 3 9 9 6 "   m o d e = " M 2 5 " >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c o u n t ( . . / c a c : P a r t y N a m e )   & g t ;   1   a n d   n o t ( . / c b c : N a m e / @ l a n g u a g e I D ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( . . / c a c : P a r t y N a m e )   & g t ;   1   a n d   n o t ( . / c b c : N a m e / @ l a n g u a g e I D ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 1 9 ]   T h e   a t t r i b u t e   N a m e @ l a n g u a g e I D   s h o u l d   b e   u s e d   w h e n   m o r e   t h a n   o n e   P a r t y N a m e   c l a s s   i s   p r e s e n t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / c b c : N a m e / @ l a n g u a g e I D   =   s e l f : : * / c b c : N a m e / @ l a n g u a g e I D " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > l o c a l - n a m e ( f o l l o w i n g - s i b l i n g : : * )   =   l o c a l - n a m e ( c u r r e n t ( ) )   a n d   f o l l o w i n g - s i b l i n g : : * / c b c : N a m e / @ l a n g u a g e I D   =   s e l f : : * / c b c : N a m e / @ l a n g u a g e I D < / P a t t e r n >  
 < D e s c r i p t i o n > [ W - L I B 2 2 0 ]   M u l t i l a n g u a g e   e r r o r .   R e p l i c a t e d   P a r t y N a m e   c l a s s e s   w i t h   s a m e   N a m e @ l a n g u a g e I D   a t t r i b u t e   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
 < x s l : a p p l y - t e m p l a t e s   s e l e c t = " @ * | * | c o m m e n t ( ) | p r o c e s s i n g - i n s t r u c t i o n ( ) "   m o d e = " M 2 5 "   / >  
 < / x s l : t e m p l a t e >  
  
 	 < ! - - R U L E   - - >  
 < x s l : t e m p l a t e   m a t c h = " d o c : C r e d i t N o t e / c a c : A c c o u n t i n g S u p p l i e r P a r t y / c a c : P a r t y / c a c : P o s t a l A d d r e s s "   p r i o r i t y = " 3 9 9 5 "   m o d e = " M 2 5 " >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : B l o c k N a m e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : B l o c k N a m e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 0 ]   B l o c k N a m e   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c b c : T i m e z o n e O f f s e t )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c b c : T i m e z o n e O f f s e t )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 1 ]   T i m e z o n e O f f s e t   e l e m e n t   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c o u n t ( c a c : L o c a t i o n C o o r d i n a t e )   =   0 "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c o u n t ( c a c : L o c a t i o n C o o r d i n a t e )   =   0 < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 2 ]   L o c a t i o n C o o r d i n a t e   c l a s s   m u s t   b e   e x c l u d e d < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " n o r m a l i z e - s p a c e ( c b c : A d d r e s s F o r m a t C o d e )   ! =   ' ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > n o r m a l i z e - s p a c e ( c b c : A d d r e s s F o r m a t C o d e )   ! =   ' ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 5 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   c o n t a i n   a   v a l u e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 4 ]   I n v a l i d   l i s t I D .   M u s t   b e   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s t y p e c o d e - 1 . 1 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 5 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 3 2 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e   =   ' H o m e '   o r   c b c : A d d r e s s T y p e C o d e   =   ' B u s i n e s s '   ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s T y p e C o d e   a n d   n o t ( c b c : A d d r e s s T y p e C o d e   =   ' H o m e '   o r   c b c : A d d r e s s T y p e C o d e   =   ' B u s i n e s s '   ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 6 ]   I n v a l i d   A d d r e s s T y p e C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - A S S E R T   - - >  
 < x s l : c h o o s e >  
 < x s l : w h e n   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 ' "   / >  
 < x s l : o t h e r w i s e >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 ' < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 6 ]   I n v a l i d   l i s t I D .   M u s t   b e   e i t h e r   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   o r   ' U N / E C E   3 4 7 7 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : o t h e r w i s e >  
 < / x s l : c h o o s e >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 3 2 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 7 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 3 2 0 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' u r n : o i o u b l : c o d e l i s t : a d d r e s s f o r m a t c o d e - 1 . 1 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 2 7 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 6 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e / @ l i s t A g e n c y I D   =   ' 6 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 8 ]   I n v a l i d   l i s t A g e n c y I D .   M u s t   b e   ' 6 ' < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' 1 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 2 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 3 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 4 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 5 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 6 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 7 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 8 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 9 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c b c : A d d r e s s F o r m a t C o d e / @ l i s t I D   =   ' U N / E C E   3 4 7 7 '   a n d   n o t ( c b c : A d d r e s s F o r m a t C o d e   =   ' 1 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 2 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 3 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 4 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 5 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 6 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 7 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 8 '   o r   c b c : A d d r e s s F o r m a t C o d e   =   ' 9 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 0 9 ]   I n v a l i d   A d d r e s s F o r m a t C o d e .   M u s t   b e   a   v a l u e   f r o m   t h e   c o d e l i s t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " c a c : C o u n t r y   a n d   n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   ! =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > c a c : C o u n t r y   a n d   n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   ! =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 2 1 3 ]   W h e n   C o u n t r y   i s   u s e d   t h e   e l e m e n t   C o u n t r y / I d e n t i f i c a t i o n C o d e   m u s t   b e   f i l l e d   o u t < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' U n s t r u c t u r e d ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 1 ]   A n   U n s t r u c t u r e d   a d d r e s s   i s   o n l y   a l l o w e d   t o   h a v e   A d d r e s s L i n e   e l e m e n t s < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   c a c : A d d r e s s L i n e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   c a c : A d d r e s s L i n e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 2 ]   A d d r e s s L i n e   e l e m e n t s   n o t   a l l o w e d   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( n o t ( c b c : P o s t a l Z o n e )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t a l Z o n e )   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( n o t ( c b c : P o s t a l Z o n e )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t a l Z o n e )   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 3 ]   P o s t a l Z o n e   i s   m a n d a t o r y   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : S t r e e t N a m e )   o r   n o r m a l i z e - s p a c e ( c b c : S t r e e t N a m e )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : S t r e e t N a m e )   o r   n o r m a l i z e - s p a c e ( c b c : S t r e e t N a m e )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 4 ]   T h e r e   s h o u l d   b e   e i t h e r   a   S t r e e t N a m e   o r   a   P o s t b o x   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : B u i l d i n g N u m b e r )   o r   n o r m a l i z e - s p a c e ( c b c : B u i l d i n g N u m b e r )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d D K ' )   a n d   ( ( n o t ( c b c : B u i l d i n g N u m b e r )   o r   n o r m a l i z e - s p a c e ( c b c : B u i l d i n g N u m b e r )   =   ' ' )   a n d   ( n o t ( c b c : P o s t b o x )   o r   n o r m a l i z e - s p a c e ( c b c : P o s t b o x )   =   ' ' ) ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 5 ]   T h e r e   s h o u l d   b e   e i t h e r   a   B u i l d i n g N u m b e r   o r   a   P o s t b o x   f o r   a   S t r u c t u r e d D K   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x ' )   a n d   c a c : A d d r e s s L i n e " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d L a x ' )   a n d   c a c : A d d r e s s L i n e < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 6 ]   A d d r e s s L i n e   e l e m e n t s   n o t   a l l o w e d   f o r   a   S t r u c t u r e d L a x   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( n o t ( c b c : I D )   o r   c b c : I D   =   ' ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 7 ]   I D   i s   r e q u i r e d   f o r   a   S t r u c t u r e d I D   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < P a t t e r n > ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d I D ' )   a n d   ( c o u n t ( c b c : S t r e e t N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : B u i l d i n g N u m b e r )   ! =   ' 0 '   o r   c o u n t ( c b c : C i t y N a m e )   ! =   ' 0 '   o r   c o u n t ( c b c : P o s t a l Z o n e )   ! =   ' 0 '   o r   c o u n t ( c a c : C o u n t r y )   ! =   ' 0 ' ) < / P a t t e r n >  
 < D e s c r i p t i o n > [ F - L I B 0 3 8 ]   O n l y   t h e   I D   i s   u s e d   f o r   a   S t r u c t u r e d I D   a d d r e s s   t y p e < / D e s c r i p t i o n >  
 < X p a t h > < x s l : f o r - e a c h   s e l e c t = " a n c e s t o r - o r - s e l f : : * " > / < x s l : v a l u e - o f   s e l e c t = " n a m e ( ) "   / > [ < x s l : v a l u e - o f   s e l e c t = " c o u n t ( p r e c e d i n g - s i b l i n g : : * [ n a m e ( . ) = n a m e ( c u r r e n t ( ) ) ] ) + 1 "   / > ] < / x s l : f o r - e a c h >  
 < / X p a t h >  
 < / E r r o r >  
 < / x s l : i f >  
  
 	 	 < ! - - R E P O R T   - - >  
 < x s l : i f   t e s t = " ( c b c : A d d r e s s F o r m a t C o d e   =   ' S t r u c t u r e d R e g i o n ' )   a n d   ( ( n o t ( c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e )   o r   c a c : C o u n t r y / c b c : I d e n t i f i c a t i o n C o d e   =   ' ' )   a n d   ( n o t ( c b c : R e g i o n )   o r   c b c : R e g i o n   =   ' ' )   a n d   ( n o t ( c b c : D i s t r i c t )   o r   c b c : D i s t r i c t   =   ' ' ) ) " >  
 < E r r o r >  
 < x s l : a t t r i b u t e   n a m e = " c o n t e x t " > < x s l : v a l u e - o f   s e l e c t = " c o n c a t ( n a m e ( p a r e n t : : * ) , ' / ' , n a m e ( ) ) "   / > < / x s l : a t t r i b u t e >  
 < 
