Subject: Re: [xsl] XSL Injection, is it possible? From: "G. T. Stresen-Reuter" <tedmasterweb@xxxxxxx> Date: Tue, 30 May 2006 19:26:26 +0100 |
But I do wonder, how would you circumvent an XPath expression such as this?
select="//page[@name = $pagename]/content[@lang = $lang]/block[@id = $block_id]"
This expression:
//page[@name = $pagename and anInterestingXPathExpression]
will produce the page with name given by $pagename only when the "anInterestingXPathExpression" is true.
In this way I could test whether certain elements have certain values, ..., etc.
In case the dynamically generated XPath expression is evaluated within an XSLT processor, then the document() function is very likely to be referenced within the injected part of the expression.
The same goes for any extension functions that might be supported.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL Injection, is it poss, Dimitre Novatchev | Thread | Re: [xsl] XSL Injection, is it poss, Dimitre Novatchev |
RE: [xsl] [xml] using schemas/xslt/, Nathan Young -X \(na | Date | RE: [xsl] Multibyte language only , Karen McAdams |
Month |