[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: running msxml3 from command line
> >Chris, > >The reason that your stylesheet is breaking is that the newest MSXSL >processor is more strictly conformant. xsl:apply-templates >instructions may >not contain PCDATA nodes (only xsl:with-param or xsl:sort element nodes) >according to the spec. Since the xsl:apply-templates instruction has an >xml:space="preserve" attribute in-scope, the whitespace nodes surrounding >the xsl:with-param instructions are preserved, and thus the error. > Yes I see that. >In the opinion of you and other list-dwellers: >1. Is this truly the conformant behavior? (in which case XT and Saxon have >bugs) >2. Even if it is conformant, should processors enforce this, as it is quite >inconvenient to work around? Maybe invalid whitespace-only nodes within >instructions should just be ignored. > I don't see why I have to do this <xsl:template match="/">open <xsl:value-of select="$host" /> <xsl:text>
</xsl:text> <xsl:value-of select="$username" /> <xsl:text>
</xsl:text> <xsl:value-of select="$password" /> and then on the other hand have problems with for instance this <a> <xsl:attribute name="href"> <xsl:value-of select="link" /> </xsl:attribute> </a> which gives this <a href=" somelink "> and have to do this <a> <xsl:attribute name="href"><xsl:value-of select="link" /></xsl:attribute> </a> There doesn't seem to be any consistency here. Or is there? TIA Chris >~Andy Kimball >MSXSL Dev > > >-----Original Message----- >From: Chris Bayes [mailto:Chris@xxxxxxxxxxx] >Sent: Monday, July 31, 2000 1:05 PM >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: RE: running msxml3 from command line > > >I can't say without seeing your docs but that is an error from the parser >itself not the script. I just installed the july release and am getting odd >errors on stylesheets that did run on the last one. See >dirtoftp.xslt. Works >fine in xt and saxon and the last release but spits the dummy with >Keyword xsl:apply-templates may not contain PCDATA nodes. >ho hum > >>-----Original Message----- >>From: owner-xsl-list@xxxxxxxxxxxxxxxx >>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sebastian Rahtz >>Sent: 31 July 2000 12:11 >>To: xsl-list@xxxxxxxxxxxxxxxx >>Subject: running msxml3 from command line >> >> >>Chris Bayes writes: >> > sheesh i can't type >> > oh well it is friday evening and i should be down the pub >> > http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml >> > >>does this work for anyone? the Microsoft IE5.5 + July update which I >>just installed says that its an invalid XML declaration >> >>sebastian >> >> >> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|