Re: [xsl] handling tags and PIs within a macro

Subject: Re: [xsl] handling tags and PIs within a macro
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 23 Oct 2007 16:07:54 +0100
> So how do you explain the fact that those macros are
> parsed properly by the XSLTPROC according to the
>  unless the macro contains the
> mentioned problematic items?

They are not really macros, just normal XML elements, which are being
transformed by XSLT (which you can view as a kind of macro expansion,
although that's not really how it works)  But your "problematic" cases
have < in attribute values so are not XML. As Wendell just said, if you
modelled your data using XML elements and attributes rather than using
non XML syntax, it would be easy to adjust the XSLT templates to your
new format. 

David





________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread