Re: Trimming (formatting-only) leading tabs/spaces fro
Not sure whether this makes sense for your use case, but when considering white space in XSLT, you should also consider that the XSLT can be used as input document for the same or other XSLT as well. This is not uncommon. And, of course, any XSLT can contain XML segments not related to XSLT which may fall under the same rules as normal XML when it comes to white space significance.
Keeping into consideration that the XSLT file should be treated as if it were any ordinary input XML (or worse, input text document, heaven forbid!) with all its quirks might make whitespace handling harder than it first seems when just looking at the XSLT itself.
On 7-6-2011 21:19, Philip Fearon wrote:
So, this makes things manageable so far as XSLT processing is concerned, but the other points on interoperability with systems, working practices and general acceptance are challenges which will be interesting to explore further.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format