294 |
;; or a simple word ? |
;; or a simple word ? |
295 |
(if (looking-at "\"\\([^\"]*\\)\"") |
(if (looking-at "\"\\([^\"]*\\)\"") |
296 |
(setq start-pos (match-beginning 0)) |
(setq start-pos (match-beginning 0)) |
297 |
(if (looking-at "'\\([^']*\\)") |
(if (looking-at "'\\([^']*\\)'") |
298 |
(setq start-pos (match-beginning 0)) |
(setq start-pos (match-beginning 0)) |
299 |
(error "XML: Attribute values must be given between quotes"))) |
(error "XML: Attribute values must be given between quotes"))) |
300 |
|
|
314 |
(goto-char start-pos) |
(goto-char start-pos) |
315 |
(if (looking-at "\"\\([^\"]*\\)\"") |
(if (looking-at "\"\\([^\"]*\\)\"") |
316 |
(goto-char (match-end 0)) |
(goto-char (match-end 0)) |
317 |
(if (looking-at "'\\([^']*\\)") |
(if (looking-at "'\\([^']*\\)'") |
318 |
(goto-char (match-end 0)))) |
(goto-char (match-end 0)))) |
319 |
|
|
320 |
(goto-char (- (re-search-forward "[^ \t\n\r]") 1)) |
(goto-char (- (re-search-forward "[^ \t\n\r]") 1)) |