Commit 389dbb5 1 parent 7159cde commit 389dbb5 Copy full SHA for 389dbb5
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ def termsource1(elem)
24
24
end
25
25
26
26
def preface_rearrange ( doc )
27
- preface_move ( doc . at ( ns ( "//preface/abstract" ) ) ,
27
+ preface_move ( doc . xpath ( ns ( "//preface/abstract" ) ) ,
28
28
%w( foreword executivesummary introduction clause acknowledgements ) , doc )
29
- preface_move ( doc . at ( ns ( "//preface/foreword" ) ) ,
29
+ preface_move ( doc . xpath ( ns ( "//preface/foreword" ) ) ,
30
30
%w( executivesummary introduction clause acknowledgements ) , doc )
31
- preface_move ( doc . at ( ns ( "//preface/executivesummary" ) ) ,
31
+ preface_move ( doc . xpath ( ns ( "//preface/executivesummary" ) ) ,
32
32
%w( introduction clause acknowledgements ) , doc )
33
- preface_move ( doc . at ( ns ( "//preface/introduction" ) ) ,
33
+ preface_move ( doc . xpath ( ns ( "//preface/introduction" ) ) ,
34
34
%w( clause acknowledgements ) , doc )
35
- preface_move ( doc . at ( ns ( "//preface/acknowledgements" ) ) ,
35
+ preface_move ( doc . xpath ( ns ( "//preface/acknowledgements" ) ) ,
36
36
%w( ) , doc )
37
37
end
38
38
You can’t perform that action at this time.
0 commit comments