Originally posted by scotspine
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Learning XML/XSL/Xpath/Xquery...
Collapse
X
-
-
Problem with extensions is that it breaks the whole point of XSL - abstract yourself from particular language, if you hack with C# in it then you might as well as stick to C#.
Using string functions for simple matching in XmlReader might be faster indeed, but it might be that they use Xpath internally for that anyway - generally speaking I'd say if there are performance constraints on any code that deals with XML/XSL then in this case either custom parsing should be used or XML/XSL should be dropped altogether.Comment
-
Originally posted by AtWProblem with extensions is that it breaks the whole point of XSL - abstract yourself from particular language, if you hack with C# in it then you might as well as stick to C#.
Using string functions for simple matching in XmlReader might be faster indeed, but it might be that they use Xpath internally for that anyway - generally speaking I'd say if there are performance constraints on any code that deals with XML/XSL then in this case either custom parsing should be used or XML/XSL should be dropped altogether.
what mix c# and html........hmmmmwhats the lowest you can do this for?Comment
-
They call it ASPX I think...Originally posted by HankWangfordwhat mix c# and html........hmmmmComment
-
Originally posted by AtWThey call it ASPX I think...
ah the tulipe with '<%' directive actually in the aspx file rather than the code behind class file.
C'mon atw keep the abstraction
You must be one of the Mixed Verbose Code design pattern fansLast edited by HankWangford; 2 March 2007, 21:32.whats the lowest you can do this for?Comment
-
I don't use ASPX - I have my own simple scripting language with interpreter written in C#, it is very fast and does not depend on IIS - it depends on my own mini webserver written also in C#
Comment
-
His name is David Pawson!
I have found this site invaluable over the years: http://www.dpawson.co.uk/xsl/index.html
XSL/T is quite tricky to get into if your head is wired for "normal" programming activities but there are some pretty good explanations and real world examples here as well as some more advanced techniques.
Hope this helps.Comment
-
http://www.amazon.co.uk/Beginning-XS...869636&sr=11-1
I found this book invaluable to me to learn the basics of XSLT. I found her writing style really easy to follow,threenine.co.uk
Cultivate, Develop & Sustain InnovationComment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Andy Burnham's first 100 days: five things contractors need from the new PM Today 00:53
- Starmer vs Burnham on housing: What their rival plans mean for your contractor mortgage Jul 22 00:59
- Burnham's housing vision vs. Starmer's home-buying reforms: what it means for your contractor mortgage Jul 22 00:59
- In Khalil v Innovate Transport, a limited company contractor wasn’t a worker and was on £2.30 — not £230 Jul 21 07:58
- Andy Burnham is PM: 5 new IT policies set to shape UK tech and its contractors Jul 20 06:29
- Taxed on money I haven't earned yet? Bold move, HMRC Jul 17 08:36
- The Fair Work Agency has got zero hours in its sights. Do you? Jul 16 08:44
- Cookie Policy Jul 15 11:50
- Cloned again: an umbrella company founder's warning on fraud, JSL and Companies House Jul 15 07:47
- How is JSL bedding in for contractor umbrella companies, 100 days in? Jul 14 07:45

Comment