Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Is the XSL 'document' function implemented/supported?(XSL open multiple xml documents?)
Is the XSL 'document' function implemented/supported? [message #1060279] Thu, 23 May 2013 19:53
Paul Carew is currently offline Paul CarewFriend
Messages: 1
Registered: May 2013
Junior Member
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.
Paul.
Previous Topic:Design View
Next Topic:Looking for Eclipse IDE for C/C++ Developers version from 3.8.0 to 4.0.0
Goto Forum:
  


Current Time: Fri Nov 21 04:49:12 GMT 2014

Powered by FUDForum. Page generated in 0.02093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software