This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Entity references in xml output


> >  2) If you must preserve input entities then I think there is really
> >     no standard solution ;-(  (But I hope I hadn't reason!)
> 
> XSLT is for transforming an XML file e.g for another XML file. This
> example is such a case, and no standard solution?:-(
> 
> (Unfortunately it's an example from real life, not only a theoretic
> question.)

There is a solution in practice, which is to preprocess the input entity
reference &xxx; into $xxx; (e.g. using Perl) and reverse the process on the
output.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]