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
- National Minimum Wage increase: operational for most umbrella staff, but brace for impact Yesterday 09:13
- Contractors, Joint & Several Liability’s unintended consequences are already piling up Mar 18 07:29
- Contractors, did you know self-employed DBS Checks have changed, for the better? Mar 17 07:56
- Offshoring harms already fraught IT contractors. Here’s what ministers can do Mar 16 07:57
- Dividends in 2026/27: an expert’s explainer for contractors Mar 13 07:20
- Dividends in 2026/27: an expert’s explainer for contractors Mar 13 07:04
- Contracting Awards 2026 opens for entries — with new AI category Mar 12 07:26
- Contracting Awards 2026 opens for entries — with new AI category Mar 12 07:26
- Contractors, beware these four traps in the UK’s Statutory Residence Test Mar 11 08:18
- Contractors, beware these four traps in the UK’s Statutory Residence Test Mar 11 00:23

Comment