[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: java extension in xsl help..please

Subject: Re: java extension in xsl help..please
From: David N Bertoni/Cambridge/IBM <david_n_bertoni@xxxxxxxxxx>
Date: Tue, 30 Jul 2002 21:56:34 -0700
java extension for xslt



See the exclude-result-prefixes attribute of xsl:stylesheet:

   http://www.w3.org/TR/xslt#stylesheet-element

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
version='1.1'
 exclude-result-prefixes='FileReader'
 xmlns:FileReader="java:java.io.FileReader">

...

Dave



                                                                                                                                                
                      "Zoe Peng" <zoe@allfools.                                                                                                 
                      net>                               To:      xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                               
                      Sent by: owner-xsl-                cc:      (bcc: David N Bertoni/Cambridge/IBM)                                          
                      list@xxxxxxxxxxxxxxxxxxx           Subject:  java extension in xsl help..please                                      
                      com                                                                                                                       
                                                                                                                                                
                                                                                                                                                
                      07/30/2002 09:28 PM                                                                                                       
                      Please respond to xsl-list                                                                                                
                                                                                                                                                
                                                                                                                                                



Hi,
I am trying to do the java extension in stylesheet to transform xml
document to wml document. When I use saxon6.4.1/jdk1.1.4 to transform
xml document, the transform engine performs ok. But, it is fail to open
wml file in Nokia or Up(WAP)simulator due to the illegal  attribute
name 'xmlns:FileReader' in tag 'wml'. WML DTD didn't allow this
attribute. What should I do to solve this problem?? Thanks.
--Zoe

--

...

--the wml file
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml
  SYSTEM "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml xmlns:FileReader="java:java.io.FileReader">
<card>...
</card>
</wml>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.