|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: a bit of distraction ' quiz of XSLT 1.0 oddities'
Hi,
Here some additions for your 'quiz'.. :-) ------------------------------------------------------------- How about the other way around; that attribute defined in an xsl that is included, but not in the main xsl. And same questions for things like xsl:output, xsl:preserve-space and xsl:strip-space.. -------------------------------------------------------------- Can you generate a custom XSL out of another XSL without using xsl:element and xsl:attribute for each xsl element in the target XSL document? ------------------------------------------------------------- :-D ------------------------------------------------------------- <snip/> I fumbled around a lot with the document function, tree fragments and key function. How about: Can you create a variable containing the rtf-element as a node-set? <xsl:variable name="rtf"> <rtf>.. some tree fragment ..</rtf> </xsl:variable> ---- Can you read in a list of xml files with one statement? ---- What is the result when the xsl is applied to text1.xml? text1.xml: <text>A</text> text2.xml: <text>B</text> xsl: <xsl:key name="text" match="text" use="'all'" /> <xsl:template match="/">
<xsl:for-each select="document('text2.xml')">
<xsl:copy-of select="key('text', 'all')" />
</xsl:for-each>
<xsl:for-each>---- Kind regards, Geert
|
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








