Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Using xsl:key

From: David Carlisle <davidc@--------->
To:
Date: 12/1/2006 12:14:00 AM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent