|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Space after <a> tag in text output
> To process this I am writing the content of > <articledescription> into a temporary XML file using > <redirect:write select="$xmlfile"> > > Then I read the temp XML file and apply template by: > <xsl:apply-templates select="document($xmlfile)" mode="proc-txt"/> It's a really bad idea to write and read the same file during the same transformation, and the XSLT 2.0 spec explicitly bans it. The reason is that it makes your stylesheet dependent on order of execution. Why not create the temporary XML document in a variable? Michael Kay http://www.saxonica.com/
|
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
|

Cart








