473,785 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XSL+XML=> HTML using xalan.

Hi all

I get an xml file which refer to a xsl file .
this xsl refer to others xsl files.
I use xalan to do the transformation xml+xsl=>html

but we I launch xalan *I get an error:

[error]
(Emplacement inconnu de l'erreur)Erreur XSLT
(javax.xml.tran sform.Transform erException): java.lang.N
oSuchMethodExce ption: For extension function, could not find method
java.lang.Strin g.eval_conv_for _p
ublication_numb er_tokkyo_jituy ou_bango([ExpressionConte xt,] #STRING,
#NODESET).
[/error]

In my xsl files I get this:
Expand|Select|Wrap|Line Numbers
  1. <DIV>
  2. <xsl:value-of select="local:eval_conv_for_publication_number_tokkyo_jituyou_bango('P','KOUKAI',.)"
  3. />
  4. </DIV>
  5.  
and this:

Expand|Select|Wrap|Line Numbers
  1. function eval_conv_for_publication_number_tokkyo_jituyou_bango(_pu_type,_kind,_contextNodeList)
  2. { var __this = _contextNodeList.item(0); return
  3. conv_for_publication_number_tokkyo_jituyou_bango(_pu_type,_kind,__this)
  4. }
  5.  

is there the command line I use:

Expand|Select|Wrap|Line Numbers
  1. java -classpath xalan.jar;xerces.jar org.apache.xalan.xslt.Process -IN
  2. D:myXml.xml -OUT myHtml.html -XSL D:\XSL\myXsl.xsl
  3.  
I don't understand what's wrong...

If someone has any idea?

thanks a lot:)
Jul 20 '05 #1
0 1333

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1761
by: Gene Ellis | last post by:
Hey everyone, I have a simple task. I want to take an XML file, pull out the elements in it, format them, and then send an html email based on it. What are the necessary steps? Any suggestions? I know how to write XSL style sheets. Most of my confusion lays in how to get the XML elements for matted and the transformed in such a form that is email-able. Thank you so much!
1
1383
by: Greg Galloway | last post by:
Hi, Ive got an XML file thats rendered with an XSL. Ive also got a template in HTML and I want the content of the XML file to be displayed within this HTML template. However when I try to put the HTML code into the XSL file, it renders slightly differently to how it comes up when the HTML page is loaded. Is it possible to load a CSS into an XSL in any way? This could be part of the problem.. but any other suggestions would be great
3
2429
by: Kevin Brown | last post by:
Is there anyway to generate this type of resulting HTML table from this XML using XSLT? Basically I need to be able to consult 2 trees of data to generate the HTML, but I have not been able to figure out how to do so. There is supposed to be a way of using templates and the key function to do grouping, but can it be done with 2 different trees? If so, are there any examples of such things Thanks for any help, Kevin
0
1030
by: catchanu | last post by:
In my project, I am generating an asp file that collects the data by querying database and puts it into xml document. XSL is applied to XML and this report in generated as HTML by IE using vb scripts CreateObject(). This is how the flow is Generate an ASP , write query to get the data, put them into XML document and call xsl and display it in IE. Everything works fine but sometime I have 1. Some html files are generated empty....
2
1928
by: Si | last post by:
Hi, I have a xml dataset I'd like to order, and save in that order. I've written an xsl to do the transformation, but because the xml file has a xsd namespace, it doesn't work. A cutdown version of the xml file looks like this: <?xml version="1.0" standalone="yes"?> <hsPrinters xmlns:xsi="http://www.w3.org/2001/XMLSchema-
5
2812
by: bram.labarque | last post by:
Hello all, The parsing should happen at the browser. I have three files: 1) Initial file: xml with some data and a pointer to an xsl. <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="Test05_Base.xsl"?> <employee> <surname>Philips</surname> <rgn>R</rgn>
0
3416
by: vaibhavk | last post by:
Hi, I am trying to transform a XML file into another XML using XSL (XSLT1.0): Original XML: <pfe-traffic-statistics> <pfe-input-packets>5678</pfe-input-packets> <input-pps>abc</input-pps> <pfe-output-packets>123c3</pfe-output-packets>
4
3919
by: saritha2008 | last post by:
Hi, Iam working on converting one of xml file to other form of xml using XSLT. As part of this, I need to count the no. of "component" nodes in the xml file given below. If there is only one "component" node,i have to assign the value of this node to "component" node in my output.xml file. If there are more than one "component" nodes in my input xml file, then i should take the first "component" alphabetically that does not start with a...
1
1722
by: Ayan1979 | last post by:
Hi I have created a xsl using RAd from Two XSD s one is INPUT XSD and the OTHER is OUTPUT XSD for Output xml. After creating when I try to create the output XML using the XSL and Input XML..it is giving an xml whith root xml tag and all the values of tags from input xml in a long string whithout any tag printed. Do you have any solution for the same..
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.