Frankly, this looks about right to me - sometimes a simple substring is good enough However, if you're in . NET land and you're really needing extra functionality . NET has XSLT Extension Objects edit: oic, you've got a basic apply-templates conceptual problem.
Try this (note the copy and the root template match):? Xml version="1.0" encoding="UTF-8"?
Frankly, this looks about right to me - sometimes a simple substring is good enough. However, if you're in . NET land and you're really needing extra functionality .
NET has XSLT Extension Objects edit: oic, you've got a basic apply-templates conceptual problem. Try this (note the copy and the root template match): templates is a hard concept to learn, you might be better off starting with the more straightforward for-each, and/or it seems you could do with some XSLT tutorials/books.
On "using the more straightforward for-each": gregbeech. Com/blogs/tech/archive/2006/08/17/…. I vote for doing it properly from the start.
:) – Tomalak Jan 29 '09 at 7:31 From personal experience of teaching XSLT to newbies I strongly disagree with that - for-each is a translatable and easily grasped concept, and if anything is a handy springboard to explain the template concept "now you've got that, see what this can do! " – annakata Jan 29 '09 at 10:04 The link Tomalak gave to the Greg Beech article has changed; it's now gregbeech. Com/blog/using-xsl-for-each-is-almost-always-wrong – Val Mar 9 '10 at 15:51.
Formatting will get a lot easier in XPath 2.0, which Microsoft has currently refused to support for the last 8 years. Since the formatting issue is really only persistent for XSLT in . Net I like to use a custom function, which is cleaner & easier: XSLT With Formatting Function: xmlns="w3.org/1999/xhtml" xmlns:xsl="w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="" rel="nofollow">tempuri.org/User"> Usage: When you execute your XSLT in .
Net make sure to tell it that it's trusted (so that the msxsl:script block will run. XslCompiledTransform. Load(reader, XsltSettings.
TrustedXslt, null).
Thanks to Stesoc and annakata I figured it out This is the code I'm now using and it works perfect.
The duration time is now 15-30 ms – freggel Jan 29 '09 at 11:07.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.