SAXTransformerFactory.newXMLFilter has no way to setParameter!

HI friends,
When doing xslt chain transformation by filter, it seems JXAP's API SAXTransformerFactory.newXMLFilter() has no way to setParameter to transformer!
Let's see this:
TransformerFactory tFactory = TransformerFactory.newInstance();
//check TransformerFactory supports the use of SAXSource ommitted here
SAXTransformerFactory saxTFactory = ((SAXTransformerFactory) tFactory);
XMLFilter xsltFilter = saxTFactory.newXMLFilter(new StreamSource("foo.xsl"));But there is no way for this filter to setParameter() to the Transformer.
I checked the TrAXFilter class in org.apache.xalan.transformer which extends XMLFilterImpl, in its constructor, it simply create Transformer like this:
m_transformer = (TransformerImpl)templates.newTransformer();
I am wondering why JAXP does not have newXMLFilter(Source src, String[] parameter) and newXMLFilter(Template template, String[] parameter)methods? It should be very easy to add.
At this moment, which is the best way to setParameter to newXMLFilter?
Thanks!

I have the same problem...
Download Xalan (xslt processor) and can see two examples:
1. Pipe
2. Filters
"Pipe and UseXMLFilters illustrate two strategies for using the output of one transformation as the input for another transformation. The Pipe sample incorporates a 'push' model -- Transformer1 'pushes' its output to Transformer2, and so on -- whereas in the UseXMLFilters sample, Transformer3 'pulls' its input from Transformer2, and so on."

Similar Messages

  • I can't get any contact info for installation problem- I just bought a Mac Air and my CS5 is asking for a reinstall. Mac Air has no DVD slots. HELP I al VERY FRUSTRATED THAT ADOBE HAS NO WAY TO GET HELP

    I can't get any contact info for installation problem- I just bought a Mac Air and my CS5 is asking for a reinstall. Mac Air has no DVD slots. HELP I al VERY FRUSTRATED THAT ADOBE HAS NO WAY TO GET HELP

    You are right, Adobe does not support CS5 because it is no longer sold.
    Simply download the trial version of CS5 from this Adobe web site and input your serial number.
    Adobe - Photoshop : For Macintosh

  • Hello, okay? since then, was robbed today, and my find my    iphone this down, please tell me if he has a way to locate the computer, I need the iphone again, it has many important data it please help me

    hello, okay? since then, was robbed today, and my find my
      iphone this down, please tell me if he has a way to locate the computer, I need the iphone again, it has many important data it please help me

    It's gone and you most likely are not getting it back.
    If you had important info on it, you should have made backups so you would not lose the data.

  • Loaded iPhoto 9.2, my 7200 photos grew to 113,000 files with screen shots, duplicates, ,5-10copies of faces and apple has no way to eliminate this. How can I ever retrieve the original 7200 from this mess?

    Loaded iPhoto 9.2, my 7200 photos grew to 113,000 files with screen shots, duplicates, ,5-10copies of faces and apple has no way to eliminate this. How can I ever retrieve the original 7200 from this mess?

    This can happen if the HD icon is inadvertently dragged to the iPhoto Window.
    Easiest solution: restore from your back up.
    Regards
    TD

  • Why is it that apple has no way to supporting Apple TV issues while Netflix has a number you can call at any time?

    Why is it that apple has no way to supporting Apple TV issues while Netflix has a number you can call at any time?

    Another reason may well be that, this is all Netflix do. If Apple had phone support for the iTunes Store, there would be all sorts of people calling up to find out what sort of lead they should get to connect their camera to their computer and other such completely unrelated questions.

  • Has a way been developed using CVI to create a window similar to windows explorer's left pannel?

    I am trying to develop a way to creat a pannel similar to the left one in windows explorer. Are there any allready defined functions (similar to VB TreeView) that can do this in Lab Windows CVI?

    There has been a tree view control developed by a CVI developer that is available at http://welcome.to/cvi under the user-contributed files. In the future, CVI will support the use of ActiveX controls in CVI panels which will allow the use of Microsoft's TreeView control.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Has the way FCPX synchronizes clips changed recently? FCPX no longer syncing in background

    (I am using FCP 10.1.3) I just stared syncing clips for my latest project to day and have met an unrecognizable process/workflow. It would seem that fcpx is no longer syncing in background? And quite frankly I don’t get it and it is really slowing me down.
    What I am expecting to happen:
    1. I select my video and audio file
    2. right click
    3. click sync clips
    4. New compound clip is created in event and progress of syncing is shown in the background tasks window/wheel.
    5. Once I have synced clips in a scene I search "sync" and check them
    What is happening instead:
    1. I select the clips I want to sync
    2. Right click
    3. Select sync clips
    4. A dialogue box asking where I would like these new compound clips to be stored and what they should be named. (Thats cool I guess, except I am fine with the default and clicking ok adds another step to my workflow)
    5. I click ok. FCP greets me with a progress bar, which prevents me from doing any other work.
    6. Once the progress bar is done FCPX removes me from my smart folder or any search to the top level of the event I am in and selects the new compound clip. (This could be convenient in some cases, except I am trying to synchronies around 600 clips.)
    Is this new in some update in the last few months? Or did I forget something about how I used to do it that made it faster? Is there something I am missing about this new setup that would enhance my workflow? This is currently looking fightingly laborious and slow, any feedback would be greatly appreciated! Thanks!

    Thank you very much, Russ H.  It sounds like i'm approaching this tool the wrong way.  i have not understood the purpose of the Event window and have intentionally glazed over it.  Guess i need to do some research....
    Is it unusual that ALL of the files did not lose the link?  Once i connected the external drive and copied the iphoto library onto it, i deleted it from my imac to create space.  It's backed up to both Time Capsule (via time machine) and external drive (copied).  When FCPX choked, i copied it back to the imac, deleted FCPX and re-installed.  But around 40% of source clips are still present.  
    Still a young mac user...
    Rgds, daf

  • Hp Photosmart 7510 keeps going offline.  Any advice?  Have tried everything I can find online about it but the answers are all dated 2008.  Surely Apple has a way of correcting this by now.  I have IMAC 10.6.8.  It did this with my hp photosmart premium a

    I have tried everything I can find online to correct this.  Nothing works and all I can find online is dated 2008.  Surely Apple has found a cure for this problem by now.  This happened with my hp Photosmart Premium c309a as well.  I thought it was a printer problem but It's happening now with the 7510 that is only a week old.  And please, if you have a cure, don't explain in high tech computer language.  I'm ok with the computer but not that up on high tech stuff.  Thanks.

    It is connected wirelessly.  The other printer was connected with a USB.  Getting it to print again---usually by just turning printer off and back on again.  This usually results in getting 1 page printed.  Then I have to do it again.  I have deleted printer and reinstalled.  I have changed IP from automatic to manual.  I unplugged printer for a short time (1-2 minutes) and plugged back in.  I have restarted both IMAC and printer after each process.  This is really frustrating and time consuming, driving me nuts.

  • I can't download the Mac OS X Lion, has another way I can  install it on my white macbook?

    I Can install it for free Lion recently bought my macbook. However I can't download it via the App Store. I wonder if there is another way for me to install the Lion?
    Thank's!!

    If you sign in to the App Store and under Purchases, Lion shows a greyed out 'Installed' button to the right, you can redownload it by signing into the App Store, press and hold your OPTION key and click on 'Purchases' along the top of the App Store menu. You should see to the right of Mac OS X Lion the button ungreyed and saying 'Install'. Click 'Install' to redownload. After the download finishes, an installer window will come up for you to install.

  • Firefox 5 no longer has a way to save tabs when a Firefox window is closed (different than quitting the Firefox Application)

    CLARIFICATION: This appears to be a Mac only issue.
    In Firefox 4, closing a firefox window (perhaps only the last firefox window - I only ever use one window) would ask you if you wanted to save your tabs as long as you edited your about:config so that browser.showQuitWarning was set to true, but after upgrading to Firefox 5, this no longer works.
    I've managed to set up Firefox 5 so that if i quit the application my tabs are saved without asking and they are restored upon re-launching the Application, but at least in OSX Snow Leopard, closing the only open window while leaving the Application running causes Firefox to forget your tabs and I've been unable to find a way to restore or proactively save these tabs.
    I've started to change my workflow to always quit Firefox 5, but every now and then I forget and close the window instead, and *poof*, there go my tabs.
    Is there any workaround to this problem?

    '''Solution:'''
    # At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP) and then click Options.
    # Select the General panel.
    # In Startup, "When Firefox starts:" don´t select "Show my windows and tabs from last time".
    # Click "OK" to close the Options window.
    To see “Save and Quit” button to save all the URL’s and open tabs before closing Firefox:
    * Type "about:config" in Firefox address bar and choose “I will be careful, I promise”.
    * Type "quitwarning" in the Filter box and hit the Return key.
    * If you should see an entry named "browser.showQuitWarning" with a value “False”, double click the “Value” field and change it to “True”. If the entry don´t exist, create it.

  • S10 has gotten way to slow!

    Hi ---- I have been working on my wife's s10 for a couple of months trying to get it back to full performance. I am currently unable to thoroughly defrag (even after using Diskeeper Pro). I am also using IObit and cleaning the system regulary with its tools. But still the s10 is slower than it used to be ---- way slower. Can anyone help?
    x201....3249-CTO....i7....4GB RAM....64-bit OS....Windows 7

    First run antivirus and clean anything you find
    Then run antispyware and clean (spyware doctor is really nice, spybot search and destroy, ad-aware)
    Run CCleaner and clean your registry and delete IE historial and everything (from the same program), it will help a lot.
    Run MSCONFIG from the startmenu, go to startup and disable everything you dont need.
    That should help

  • IE has a way to stop webpage pictures from downloading. Is there a way to do this in FF

    In IE you can go Tools/Internet Options/advanced tab/scroll down to multimedia/uncheck show pictures. This will prevent most pictures from loading in webpages. Is it possible to do this in Firefox?

    You can look at one of these extensions:
    *Image Block: https://addons.mozilla.org/firefox/addon/image-block/
    *ImgLikeOpera: https://addons.mozilla.org/firefox/addon/imglikeopera/
    *QuickImage: https://addons.mozilla.org/firefox/addon/quickimage/
    *QuickJava: https://addons.mozilla.org/firefox/addon/quickjava/

  • ICloud (beta) has no way to UNLOCK & RESTORE a lost iPhone?

    My iPhone 5 was recently stolen. Thus I set up iCloud to track it, succesfully, and since it was stolen by an employee at the Tax free shop in Denpasar, Bali, airport, I felt it was a likely scenario to get it back. After a week of checking cctv, the management there indeed found out who took it and the phone is now back with me. So far, all good.
    It turns out there is no choice in iCloud to UNLOCK & RESTORE a tracked phone, to turn off the damned inhibition. It is nice to have the phone made useless when the phone is in the hands of thieves, but in my hands I would like it to work. Reading several Find my iPhone themes here in support, no help. Seems Apple did not quite think of the possibility of stolen phones returning to the owner... At least not enough to make such an unlock-restore function visible and chooseable. In iTunes it seems they did think of that possibility, inhibiting my phone from being restored there until "Find my iPhone is turned off". Well, where is that OFF button, please!
    Anyone out there knows how to get the tracked phone back online for the rightful owner?
    Thanks.

    Either force the phone into recovery mode, as described here, & restore it:
    http://support.apple.com/kb/ht1808
    Or, login to iCloud.com, locate the phone, then erase it, then restore from backup or setup as new.

  • Has anyone found the way to fix Mavericks from turning their MBP into a snail?

    I have an early 2011 MBP.  2.0ghz with 4gb of RAM.  I have plenty of space on my HDD(140GB) which is not "failing".  Just like about 90% of other users, my mac has slowed way way down since "upgrading" to Mavericks.  Easily half the speed it was since the upgrade.  Oh yeah, I upgraded over a week ago.  So it isn't the "give it 72 hours" line of BS.
    Any real answers?  Will Apple help anyone with this?

    Thanks for the info.  RAM on the way.  Just as a matter of opinion.  Why would Apple nearly force this operating system on me by popping it up on my updates list every other day?  After I finally gave in,(with great concern that it would do more harm than good, because frankly, my computer was running great already)  I might of seen a spinning balloon once a week, maybe for a second or two, and that was with a ton of things working.  Including Premiere Pro, Firefox, and maybe another adobe program open.  Switch to Mavericks, and I can't even open Firefox without havng to wait for atleast 5 seconds of spinning balloon. 
    Then when I looked up to see why I was having problems, I saw tons of people with the same exact problem.
    And this is months and months of the same exact complaints with absolutely no answers and no changes.  Kind of like an automobile company witholding information about defects while its customers die from them.
    Let me tell you what I think is actually happening.  The guy who loved the company the most, and wanted to provide a quality product, first and foremost, died.  I sadly predict we are watching Apple downshift its way into Microsoft Mediocrity.

  • Is there an easy way to reimport all songs in my itunes folder?

    This may sound like a weird question but here goes... When I bring up my iTunes I have 8731 files (mostly music) that come to about 41.33G's but when I right click on my iTunes Music folder and select properties there are 8809 files and a total of 48.5G's. I am trying to free up some disk space and can't figure out why there is such a difference. I had issues with Norton 360 and removed it but I had to restore my music files from an external drive and when I did so I lost the links for music that I added after my last back-up. I noticed that TV shows I bought from Apple were not in my iTunes but I was able to locate them in the folder, and import them back into iTunes. I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts or a way to figure out which files may be duplicated in my iTunes Music folder. Seems like I am wasting 7G somewhere that I would like to recover. I already went through the duplicate songs and that didn't help. Any suggestions would be great...
    hp pc m260n   Windows XP   media center

    I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts
    AFIK there isn't an easy way of linking up to a lot of dead tracks and retaining play counts etc, except by finding the dead tracks and repairing each link individually. The only exception to this is if there is a simple error in the path that can be fixed by a search and replace on the xml library file, then rebuilding the library. However it doesn't sound as though that would be a solution for you.
    This MacMuse tip has a way of finding dead tracks if that helps.
    http://discussions.apple.com/thread.jspa?threadID=121967
    It is much simpler to sacrifice the playcount information and just reimport your iTunes Music folder. Then you can eliminate the dead tracks with a script. One of the forum members has written one that you can find here:
    http://home.comcast.net/~teridon73/itunesscripts/

Maybe you are looking for

  • Quicktime Exporter ghosting

    Hi, my problem is with exporting video from Flash to Quicktime. To give an example, I am using Flash to add a snowy overlay to a movie I made, and every few keyframes of exported video, whatever was on that snow layer on that frame will 'stick' and p

  • 2 issues with Take 2

    LOVE the new update! Having a lot of fun with it... but unfortunately noticed a couple problems... 1. Romeo and Juliet shows up under the "All HD" category but yet when you click on the movie itself there is no HD renatal button... only a $2.99 libra

  • INSTALLING BOOTCAMP ON MACBOOK PRO???

    hello i bought the new macbook pro 15inch yesterday...it seems she needs windows xp for work and i need to installl it tonight...thus the BEST replies that come ASAP will recieve answer points... i downloaded the ASSISTANT to my desktop. i ran the in

  • Kill a root system process and have it stay dead until next reboot

    The process in question is UPDATE it does its thing at exactly 30-second intervals according to this http://www.westwind.com/reference/OS-X/background-processes.html it's "responsible for keeping disks synchronized with the file system cache, to keep

  • Socket not timing out - if network is disabled

    Hi All, I am using java.net.Socket to connect to a TCP/IP server. And using timeout in case of non-activity between the server-client. This is the code I use to transfer data... out = new BufferedWriter(new OutputStreamWriter (