Urgent (wd-xsl)

Posted on 2005-03-09
Medium Priority
Last Modified: 2008-01-09
i have a stylesheet designed in wd-xsl and i want to dynamically transform my xml file to that stylesheet,but as it is the older stylesheet it is not transformed by these days xsl processor. i too tried to convert xsl to xsl using xsl to xslt converter but that one cannot transform fully to xslt.
from javascript i did the transformation using msxxml dom document3.0 but,it sometime works and sometime it doesnot works.

i also tried to create processing instruction from javascript and jsp at the runtime using dom.now how can i show the xml file in internet explorer with dynamically transformed stylesheet(using created processing instruction)??

and is there any xsl processor rather than msxml3.0 which can process wd-xsl stylesheet??

thanks in advance
Question by:sansaj
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 19

Expert Comment

ID: 13504721
First of all you should replace your stylesheet definition:

by standard
<xsl:stylesheet version="1.0"

Also sometimes it was default rule added to the stylesheet:
<!-- default rule -->

remove it.

some functions has to be replaced.
Better if you send your old xsl. I will try to convert it.
I don't think that there is a good converters from wd-xsl to standard xsl are exist. because wd-xsl is mostly were implemented by microsoft.


Author Comment

ID: 13505145
hey thanks
the old xsl is available at

LVL 19

Expert Comment

ID: 13505524
replace all context()[ calls by .[
replace all end() function calls by not(last())
replace all $any$ calls by similiar or constructions.

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!


Author Comment

ID: 13514005
>>replace all $any$ calls by similiar or constructions.

what does similar or constructions means.???
LVL 19

Expert Comment

ID: 13532688
for example you have following expression: /metadata/idinfo/keywords[$any$ */(themekey | placekey | stratkey | tempkey) != '']

It should be replaced by:
(/metadata/idinfo/keywords[child::*/themekey != ''] or /metadata/idinfo/keywords[child::*/placekey != ''] or /metadata/idinfo/keywords[child::*/stratkey != ''] or /metadata/idinfo/keywords[child::*/tempkey!= ''] )
LVL 19

Accepted Solution

ramazanyich earned 1500 total points
ID: 13532690
in my suggestion "replace end() by not(last())" was mistake:
it should be:
replace end() by last()

Author Comment

ID: 13532829
Thanks i am trying this one

Featured Post

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question