sysmodelgen/src/old/svg/validate.xsl
author Simon Howkins <simonh@symbian.org>
Thu, 10 Jun 2010 16:30:35 +0100
branchHighFidelityModel
changeset 283 7b6dfbac0dd3
parent 152 5acf50bbb618
permissions -rw-r--r--
Change the order of tests in sub GetXsltDir, so that it tests relative to the root directory before using the current dir (which will always exist) Improved debug output when unable to open some of the files.

<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform" 	xmlns:set="http://exslt.org/sets">
<import href="validate-raw.xsl"/>
<output method="text"/>
<!-- for validating the generated temp XML file -->


<template match="SystemDefinition/release|SystemDefinition/styling|systemModel/legend-layer|systemModel/layer-group"/> <!-- in generated file -->

<template match="generator-color|generator-style"/> <!-- in generated file -->

<template match="systemModel/@*"/> <!-- any attributes ok-->


<template match="component/@* | collection/@* | block/@* | subblock/@* | layer/@*" priority="-4"/>

<template match="@abbrev|@align|component/@old_model|@*[starts-with(name(),'generat')]" mode="extra"/>


</stylesheet>