|Is the XSL 'document' function implemented/supported? [message #1060279]
||Thu, 23 May 2013 19:53
| Paul Carew
Registered: May 2013
I'm trying to write an XSL transformation that reaeds/transforms an Android layout file to HTML.|
Android layout files reference other 'value' xml files for specific values, e.g. strings.xml
I tried using the xsl document funxtion to open the strings.xml file to extract a string value.
However, nothing seems to happen. No errors and no results from the access.
Here is the code snippets:
This is the xsl line that tries to open the strings file and get a value.
<xsl:value-of select="document('../values/strings.xml')/String[@name=substring-after(@android:text,'/')]" />
I also tried placing the strings.xml file in the same directory as the xsl file, but that didn't make any difference.
Any help/insight would be greatly appreciated.
Powered by FUDForum
. Page generated in 0.03728 seconds