se.unlogic.standardutils.xsl
Class XSLUtils
java.lang.Object
se.unlogic.standardutils.xsl.XSLUtils
public class XSLUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLUtils
public XSLUtils()
getVariableReferenses
public static Set<String> getVariableReferenses(File file)
throws SAXException,
IOException,
ParserConfigurationException
- Scans XSL documents for references to XSL variables such as <xsl:value-of select="$foo"/ and <a href="{$foo}"/>. Returns the variable names.
- Parameters:
file
- Input XSL file
- Returns:
-
- Throws:
SAXException
IOException
ParserConfigurationException
getDeclaredVariables
public static List<String> getDeclaredVariables(File file)
throws SAXException,
IOException,
ParserConfigurationException
- Scans XSL documents for declared XSL variables such as <xsl:variable name="myvariable"/
- Parameters:
file
- Input XSL file
- Returns:
-
- Throws:
SAXException
IOException
ParserConfigurationException
Copyright © 2011. All Rights Reserved.