SyntaxHighlighter.brushes.Xml=function(){function a(d,i){var e,g,b=[],f,c,h;e=SyntaxHighlighter.Match;g=d[0];if(d.attributes!=null){f=new XRegExp("(?<name> [\\w:\\-\\.]+)\\s*=\\s*(?<value> \".*?\"|'.*?'|\\w+)","xg");while((c=f.exec(g))!=null){b.push(new e(c.name,d.index+c.index,"xml-attname"));b.push(new e(c.value,d.index+c.index+c[0].indexOf(c.value),"xml-attvalue"))}}if(d.tag!=null){f=new XRegExp("(?<tag>((&lt;|<)\\w+(&gt;|>)?|(&lt;|<)/\\w+(&gt;|>)|/?(&gt;|>)))","xg");while((h=f.exec(g))!=null){b.push(new e(h.tag,d.index+h.index,"xml-tag"))}}if(new XRegExp("=","xg").exec(g)!=null){b.push(new e("=",d.index,"xml-equals"))}return b}this.regexList=[{regex:new XRegExp("(&lt;|<)!--.+?--(&gt;|>)","gm"),css:"xml-comment"},{regex:new XRegExp("(&lt;|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)","sg"),func:a},{regex:new XRegExp("(?<tag>((&lt;|<)\\w+(&gt;|>)?|(&lt;|<)/\\w+(&gt;|>)|/?(&gt;|>)))","sg"),func:a},{regex:new XRegExp("=(?=[\"'])","sg"),func:a}]};SyntaxHighlighter.brushes.Xml.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Xml.aliases=["xml","xhtml","xslt","html","xhtml"];
