Subject: Re: [xsl] Using xsl:key From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 1 Dec 2006 00:13:30 GMT |
you don't show enough of your input to really help. In particular, where do you have the entity references? (you show them appearng immediately after the entity declaration, but that presumably isn't where they appear. Also where in the XML do you record which are the german texts and which are the english ones? The entity names end in _DE and _EN but entities are expanded _before_ XSLT starts, they are just a macro pre-processor syntax. So XSLT just sees the XML that results from expanding the entities and never sees the entity names. So, somewhere in your source xml or your stylesheet you must have a syntax that specifies which language you want, and somewhere in your xml that holds the language texts, you must have some syntax to say which language it is for. The details of what XSLT you use to tie these together depend on the details of where the information is specified, but you haven't given any information. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using xsl:key, siarom egrub | Thread | Re: [xsl] Using xsl:key, siarom egrub |
[xsl] Using xsl:key, siarom egrub | Date | Re: [xsl] Using xsl:key, siarom egrub |
Month |