Thanks in advance for any light on this matter! Improve this question. Fawix Fawix 1 1 gold badge 9 9 silver badges 15 15 bronze badges. Add a comment. Active Oldest Votes. It means that is neither an expression nor an AVT.
Improve this answer. Markus Winand 7, 1 1 gold badge 31 31 silver badges 40 40 bronze badges. ToFi ToFi 1, 13 13 silver badges 29 29 bronze badges. The huge problem is that its not grouped all in one file — Fawix.
Well the problem is that I do not have a fixed layout for the xml and it can occur in several different tags and several different xmls just with the id to identify it, and my XSLT is too generic to be able to determine the name.. Michael Kay Michael Kay k 10 10 gold badges 82 82 silver badges bronze badges. Wayne Wayne That makes document '' no needed for getting a node set, avoiding the problems for null URI dynamic documents.
Any ideas guys, how can we impelemnt it to remove the node with specific atirbute value? These attribute values should be passed as parameter just like above post. Show 3 more comments. ToFi ToFi 1, 13 13 silver badges 29 29 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Complicating matters is the fact that a template is not required to have a name.
A template is only required to have either a name or match attribute. It can have both. Ideally, each template will have a unique name. However, if a name is repeated, then the two templates must have a different import precedence refer to the xsl:import element , otherwise it is an error.
Copy Link. Chriztian Steinmeier posts karma points MVP 5x admin c-trib. Hi Rob, As you say - it's an "intellectual exercise" - and as such, a clever example, really - though not something I'd ever try to execute in that way myself Would you mind sharing some examples where you'd pick something like this over actual XSLT? Feb 24, Just as an addendum to this, couple of points: Although document '' does not work in the "Visualize XSLT" popup, it DOES when you actually run the macro in page, so you don't in fact need the hack.
Although in the above example you can select directly off the document '' call, this does not appear to work when passed as a parameter, so you need to call msxml:node-set on it adding yet another inefficiency.
0コメント