"Detecting Vexi Templates"



There are numerous projects now using Vexi. Vexi files are XML/JS. Currently ohcount detects them as Perl files.

It is easy to know if it is a Vexi file:

  • All Vexi templates end in .t
  • All are JS encapsulated in XML
  • Root tag is always <vexi></vexi>

The only vexi-ism that would be worth noting is that not all textual content is JS. Anything inside the tag <meta:doc></meta:doc> should be considered comments - including further XML tags.

Avatar

Charles Goodwin

almost 4 years ago
 



 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.