How use XML-Parser in Web Dypro (how get filename)

Hi everybody,
i want to use the saxparser to read a xml-file via a Fileupload-UI element. In Web Dynpro it is not possible to get the path of a file which was on a client through the Fileupload-UI. So how can i use a xml-parser when i have to give it the file name?
Is it possible to use the "resource" of the Fileupload-UI instead ot the filename? How can i call the parser?
                    SAXParser saxParser= null;
     try{                   
          SAXParserFactory factory = SAXParserFactory.newInstance();               
          saxParser = factory.newSAXParser();               
          saxParser.parse( new File(??????), new  Gaeb());
     }catch (Exception ex){
          ex.printStackTrace();
regards,
Sid

Hi Siarhei,
i bind the resource property to my context of type IWDResource, the xml-file is now uploaded to KM-Content : /documents/GSW/Upload_UT_Sample_A.xml.
I create with resource.getURL() the path of the xml-file and give it to my xml-parser class, but i cannot get any value
from my parser (value returns "null"). Now i don't know if i have a mistake in creating the path of my file or a mistake in my parser??
Could you please have a look to my  source code:
I try to get the path with:
       /* Get Path of "/documents/GSW/XML/Upload_UT_Sample_A.xml" */
       String urlToFile = resource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());                  
      /* Call the Parser Class with path*/
      MyXMLParser myParser= new MyXMLParser ( urlToFile );
      /* Get one value from xml-class*/
      wdComponentAPI.getMessageManager().reportSuccess("Value: " + myParser.getValue());  <-- returns "null"     
My XML-Class:
public class MyXMLParser extends DefaultHandler {
     private String path = null;
     private String fName = null;
     public  String lValue;     
     private boolean lSupplier = false;
     private boolean lQuoteNumber = false;     
     public Gaeb(){ }
     public Gaeb(String path){
          SAXParserFactory factory = null;                         
          SAXParser saxParser = null;
          try {
               factory = SAXParserFactory.newInstance();                         
               saxParser = factory.newSAXParser();               
               saxParser.parse( path , new MyXMLParser () );     <-- i try also new File(path) instead of path.          
          }     catch (Exception ex){               
               ex.printStackTrace();
     public void startElement(String uri, String localName,
          String qName, Attributes attributes)
          throws SAXException {     
          lSupplier = true;        
     public void characters(char[] ch, int start, int length)
          throws SAXException {
          if (lSupplier){
               this.lValue = new String (ch,start,length);
     public String getValue(){
          return this.lValue;
regards,
Sid
Edited by: Sid on Dec 2, 2009 2:47 PM

Similar Messages

  • How use a proxy consumer web service in ABAP Program with local interface

    I generate a proxy class based on a WSDL file.
    I want to use this class in an abap programm without a connection but using XML files in local.
    I see with the class CL_PROXY_LOCAL_ADAPTER that it is possible to execute without connection but for use this, it's necessary to use the method REGISTER.
    This method have two parameters : Class Name and Interface Name.
    Class name is the name of my proxy class, but I don't know how to find the interface name.
    I think that a local interface is needed to generate but I don't know how to generate in interface with entries in SPROXSIG table ?
    Could you help me ?

    Check out the following links to see if it meets your needs.. Has examples to call a ABAP proxy (that consumes a webservice) from ABAP program...
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm (webservices ->webservices toolset -> examples)
    http://help.sap.com/saphelp_dm40/helpdata/en/1a/b69d427cab0831e10000000a1550b0/frameset.htm

  • Using XML Parser for PL/SQL in 8.1.7

    The XML Parser for PL/SQL is part of 8.1.7,
    which is a good thing.
    Now my question: What steps do I need to
    perfom after installation of 8.1.7 to make
    the parser available for my PL/SQL packages,
    which call
    xmldom.makeNode()
    xmldom.appendChild()
    xmlparser.newParser()
    and other procedures from these packages ?
    The schema SYS does not contain the
    required packages XMLDOM, XMLPARSER, ...
    after installation of 8.1.7.
    Do I have to call loadjava and
    sqlplus @load.sql extra as in 8.1.5 and
    8.1.6 before ?
    Of course I'd like to use the natively
    compiled XML parser
    libjox8_oraclexml_parser_v2.so.
    Doesn't the above loadjava override the
    installation of this fast parser ?
    How can I be safe, that I am using the fast
    parser under the PL/SQL cover ?
    Tnx for your help
    Richard
    null

    Richard,
    That's weird? The packages were installed when I installed 8.1.7. You can just download the latest version of the XDK and reinstall using loadjava and then running the load.sql file to get the packages in. You should use the -f parameter for loadjava to force the new classes to be loaded over the old ones. For code examples and lots of other good tips on using the XDK, check out my new website for everything Oracle and XML at: www.webspedite.com/oracle.

  • Using XML parser in Java

    Hi,
    I would like to distribute the Java XML parser with my product (which does not include an Oracle database).
    Do you have an idea, if this can be done ?
    The license agreement is "for a single developer". My local reseller has no clue if I can use for free, or how much does it cost.
    Any idea ?

    Free runtime redistribution. visit the latest download page for the production version to see the verbage.

  • XML parsing error: web-jsptaglibrary_1_1.dtd not found

    I'm getting the following Exception while Tomcat is parsing my welcome jsp page:
    exception
    org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/struts-template.tld: Internal Error: File /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd not found
         at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:227)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:283)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:219)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
         at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1170)
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:765)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:125)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:534)
    This is the reference to the dtd its not finding from the tld
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    Do you think this is a bug with the parser itself or an incompatablilty between it and the tag library?
    Or am I missing something?
    Thanks for any help..... Andy

    Store the web-jsptaglibrary_1_1.dtd to a directory and specify the file url.
    <!DOCTYPE taglib  SYSTEM "file://C:/dtds/web-jsptaglibrary_1_1.dtd">

  • Invalid InputSource Error using XML Parser V2

    I'm using the following code to read xml from
    a clob field in an Oracle database.
    try
    // Parse xsl and xml documents
    parser = new DOMParser();
    parser.setPreserveWhitespace(true);
    Statement sqlSel=conn.createStatement();
    ResultSet xmlDet=sqlSel.executeQuery("SELECT * FROM USER_XML WHERE IHC_USER_ID='123456789'");
    if (xmlDet.next())
    CLOB xmlCLOB= ((OracleResultSet)xmlDet).getCLOB(2);
    int index=0;
    Reader clobStream=xmlCLOB.getCharacterStream();
    parser.parse(clobStream);
    Everything seems to work fine, and I can
    create a String from the stream which contains the entire XML document. However, if I try to do the above and parse the Stream, or alternatively parse the String resulting from the stream, I get the following Error:
    nvalid InputSource.
    void oracle.xml.parser.v2.XMLError.flushErrors()
    void oracle.xml.parser.v2.XMLError.error(int, int, java.lang.String, java.lang.String, java.lang.String, int, java.lang.Exception, int, boolean)
    void oracle.xml.parser.v2.XMLError.error(oracle.xml.parser.v2.XMLReader, java.lang.String, int, java.lang.Exception, int, boolean)
    void oracle.xml.parser.v2.XMLReader.pushXMLReader(org.xml.sax.InputSource)
    void oracle.xml.parser.v2.XMLParser.parse(java.lang.String)
    void xmlquerydb.testParse()
    void xmlquerydb.main(java.lang.String[])
    Any ideas what could cause this?

    I'm quite sure the xml documents are valid.
    At present, I'm just using booklist.xml,
    which comes as an example with the XML SQL
    utility. The problem is not really with the
    parsing (If I convert the xml into a url then it parses fine).
    My real problem is pulling the document out
    of a CLOB field. Regardless of what I pass to the parser( a string or a stream), or which xml its parsing, I still get the Invalid inputsource error.

  • Using XML parser objects

    This question was posted in response to the following article: http://help.adobe.com/en_US/Director/11.5/UsingScripting/WScf09ce35f85d76b4-31c73ea211d558 551a5-7ffb.html

    where is the samples XML parser & JScript ?

  • How do I parse a web page via a URL in the clipboard

    Hi.
    I would like to read the html source of a web page into a string variable. The contents of the clipboard contains the URL.
    How do I do this ?
    Regards,
    Harry W.
    PowerMac G5 Dual 2.5GHz   Mac OS X (10.4.3)  

    What I have done is write an Applescript that parses a URL copied from a web site (http://www.ebroadcast.com.au/TV/static/PerthNight.html?) read the web page using CURL and use the EyeTV API to schedule a recording.
    The applescript is as follows;
    property |version| : 1.0
    property author : "HarPat Software"
    property |date| : date "Saturday, 18 February 2006 12:00:00 AM"
    property license : "freeware, open-source"
    version 1.0, February, 18, 2006
    - Initial version.
    set theURL to contents of (get the clipboard) as text
    if theURL contains "http://www.ebroadcast.com.au/cgi-bin/TV/detail?" then
    set thePage to do shell script "curl " & quoted form of theURL
    set theBDateStr to "Broadcast Date: "
    set theChannelStr to "&chan="
    set theDescriptionStr to "&descrip="
    set theBTimeStr to the offset of "Broadcast Time: " in thePage
    set theDurationStr to the offset of "Timeslot Duration: " in thePage
    set theBDateOff to the offset of theBDateStr in thePage
    copy (characters (theBDateOff + (length of theBDateStr)) thru ((the offset of "Channel: " in thePage) - 9) of thePage) as string to theBroadcastDate
    set theChannelOff to the offset of theChannelStr in theURL
    copy (characters (theChannelOff + 6) thru ((the offset of "&state=" in theURL) - 1) of theURL) as string to theChannel
    set theDescriptOff to the offset of theDescriptionStr in theURL
    copy (characters (theDescriptOff + 9) thru ((the offset of "&fta=" in theURL) - 1) of theURL) as string to theTitle
    set theBTimeOff to the offset of theBTimeStr in thePage
    copy (characters (theBTimeOff + (length of theBTimeStr) + 23) thru ((the offset of "Classifications: " in thePage) - 10) of thePage) as string to theBroadcastTime
    set theDurationOff to the offset of theDurationStr in thePage
    copy (characters (theDurationOff + (length of theDurationStr) + 26) thru ((the offset of "<!--<br>" in thePage) - 11) of thePage) as string to theDuration
    set Durationsecs to (theDuration as integer) * 60
    set thetheBroadcastDateTime to theBroadcastDate & " " & theBroadcastTime
    set aChannel to 0
    if theChannel = "2" then
    set aChannel to 1
    end if
    if theChannel = "7" then
    set aChannel to 2
    end if
    if theChannel = "9" then
    set aChannel to 3
    end if
    if theChannel = "10" then
    set aChannel to 4
    end if
    if theChannel = "SBS" then
    set aChannel to 5
    end if
    if theChannel = "31" then
    set aChannel to 6
    end if
    tell application "EyeTV"
    make new program with properties {start time:date thetheBroadcastDateTime, duration:Durationsecs, title:theTitle, channel number:aChannel}
    end tell
    end if
    I'm not very good at scripting yet so please don't laugh at my code.
    Regards,
    Harry Werkman

  • How use xml with namespaces

    I have the following xml which is output from Oracle Bpel.
    <OglRapportPerAdresnrResponse xmlns="http://www.itude.com/technology/Ogl/RapportPerAdresnrResponse">
    <AdresGegevens>
    <Adresnr>54321</Adresnr>
    <Straatkode>12345</Straatkode>
    </AdresGegevens>
    </OglRapportPerAdresnrResponse>
    If i remove the namespace info everything works fine but with the namespace info the output is empty if i insert e.g. <Adresnr> into a template. The field browser shows everything fine and also the value but when rendering a PDF it disappears. I read in the user guide that i need to declare the namspace in a form field like <?namespace:namespace name= namespace url?> but how do i do that with the above namespace notation where the namespace name is empty ?
    Regards,
    Andre

    Hi Tim,
    I found part of the solution but i am still stuck when i need to use <?for-each?> tags. When i use the following XML:
    <OglRapportPerAdresnrResponse xmlns="http://www.itude.com/technology/Ogl/RapportPerAdresnrResponse">
         <AdresGegevens>
              <Adresnr>8391</Adresnr>
              <Straatkode>11070</Straatkode>
         </AdresGegevens>
         <Basisgegevens>
              <paramPResult xmlns="urn:generated.ws.kgb.itude.com">
                   <paramAdresnr>8391</paramAdresnr>
                   <paramGegevenstype>GEBRUIK</paramGegevenstype>
              </paramPResult>
              <paramPResult xmlns="urn:generated.ws.kgb.itude.com">
                   <paramAdresnr>8391</paramAdresnr>
                   <paramGegevenstype>STADSDEEL</paramGegevenstype>
              </paramPResult>
         </Basisgegevens>
    </OglRapportPerAdresnrResponse>
    I read the xml file in Word. I then have access to the fields but when i select AdresGegevens/Adresnr the output is not rendered. The namespace is a default namespace for that element. I found out that if i define a namespace like <?xmlns:bpel=http://www.itude.com/technology/Ogl/RapportPerAdresnrResponse?> and then access the AdresGegevens/Adresnr through <?bpel:Adresnr?> it works!
    I then defined a second namespace <?xmlns:bpel2=urn:generated.ws.kgb.itude.com?> and tried to render the paramPResult tags with:
    <?for-each:paramPResult?>
    <?bpel2:paramAdresnr?>
    <?bpel2:paramGegevenstype?>
    <?end for-each?>
    But the above does not work. Any ideas?
    Regards,
    Andre Jochems

  • How Use JOptionPane on a WEB borwser

    Could some body tel if is it possible to use a JOptionPane on a web browser..
    In this code line :
    JOptionPane.showMessageDialog(null,"Le contenu " + chaine + " du "+ champs +" n'est pas valide","Validation",JOptionPane.ERROR_MESSAGE);
    The first paramter is the contener which will display the error message frame..
    Is there any way to set this paramter to the client web browser...
    I use Servlet and JSP with MVC architecture : All my error message are only diplay on a WEB server if i put null in a first parameter of the showMessageDialog..
    How could il display the JOptionPane on a client web broswer ?

    Usually to display a popup message to a user on their browser you use JavaScript.

  • Xml regex help - can't use xml parser

    Hi,
    I receive xmls from a legacy system and use JAXB to parse these xml's into java objects.
    The xml looks roughly like this:
    <root-Tag>
       <general-Info-Tag-1>blah</<general-Info-Tag-1>
       <general-Info-Tag-2>blah</<general-Info-Tag-2>
       <general-Info-Tag-3>blah</<general-Info-Tag-3>
       <entry-Tag>
          <entry-info-Tag-1>info</entry-info-Tag-1>
          <entry-info-Tag-2>info</entry-info-Tag-2>
           etc...
       </entry-Tag>
       <entry-Tag>
          <entry-info-Tag-1>info</entry-info-Tag-1>
          <entry-info-Tag-2>info</entry-info-Tag-2>
           etc...
       </entry-Tag>
    </root-Tag>The xml contains a root tag.
    The root element contains some general info tags and entry tags.
    The entry elements contain some entry relevant info inside nested tags.
    It's important to note that this the xml is not nested anymore than the entry-info tags.
    My Problem:
    The info in the entry-info-tags sometimes contains illegal chars like <,>,& and is not wrapped
    properly by a CDATA section.
    So I need to find these elements and wrap them with <![CDATA[info]]> before using JAXB.
    How can I achieve this using Pattern/Matcher? I've been unsuccessful so far...
    Edited by: Samuelz on Jul 1, 2010 1:58 AM

    Heres what i've got so far:
    A helpful function to print out matches for regex on an input string:
    private static void printMathces(final String regex, final String input) {
         Pattern p = Pattern.compile(regex, Pattern.DOTALL);
         Matcher m = p.matcher(input);
         while (m.find()){
              System.out.println("found:");
              for (int i = 0; i < m.groupCount(); i++)
                   System.out.println(i + ":" + m.group(i));
    }My input string for testing:
    String s =
    "<entries>\n"+
         "<entry>\n" +
              "<TagName>sam&max</TagName>\n" +
         "</entry>\n" +
         "<entry>\n" +
              "<TagName><![CDATA[sam&max]]></TagName>\n" +
         "</entry>\n" +
    "</entries>\n";regex to get contents of TagName:
    printMatches("<(TagName)>((.*?))</\\1>+", s);
    found:
    0:<TagName>sam&max</TagName>
    1:TagName
    2:sam&max
    found:
    0:<TagName><![CDATA[sam&max]]></TagName>
    1:TagName
    2:<![CDATA[sam&max]]>regex to get content of TagName when its wrapped by CDATA
    printMathces("<(TagName)><!\\[CDATA\\[((.*?))\\]\\]></\\1>", s);
    found:
    0:<TagName><![CDATA[sam&max]]></TagName>
    1:TagName
    2:sam&maxI'm trying to build a regex that will find the contents of TagName without knowing if its already wrapped by CDATA and then replace these matches by something like <$1><![CDATA[$2]]</$1>
    How do I "combine" these 2 regular expressions?

  • Problem Using XML Parser

    Hi,
    I've tried to criete an IFS user using a createUser.xml but executing the command line ifsput i receive the following error:
    Error: PUT: IFS-12649:ClassSelectionParser: Cannot envoke without the Parse.CURRENT_PATH_OPTION and Parse.CURRENT_NAME_OPTION
    Even if I think about a configuration problem I don't know what to do. Can anyone help me?
    THANKS

    Does the createUser.xml file work when imported via SMB (MS Explorer)?
    Please include the content of the createUser.xml file.
    Also, it appears that you have created a mapping between the .xml extension and the ClassSelectionParser. This would circumvent the XimpleXMLParser which is responsible for creating the user from an xml configuration file.

  • How do I close a web site and get back to the home page?

    When I click the close button on a web page I end up at the desktop with no visible means of using other sites. When I click on the fire fox logo again I am told that I am already connected. When I use the back button instead of the close button to get to the home page and then shutdown my computer to start over I get the oops page asking if I want to restore web pages that I thought were closed.

    Make sure that you type in the location bar and not in the Google search bar.
    * Make sure that you have the "Navigation Toolbar" and the "Bookmarks Toolbar" visible: "View > Toolbars"
    * If items are missing then see if you can find them in the "View > Toolbars > Customize" window
    * If you see the item in the Customize window then drag it back from the Customize window to one of the toolbars.
    * If, in "View > Toolbars > Customize", you do not see that item then click the "Restore Default Set" button
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • How do i parse a string

    Can somebody tell me the function used to parse a string and how it works? All I want to do is seperate the string 'AG-01' into another string 'AG-' and an int '01'. I have been through numerous resources and have found nothing at all on parsing functions.

    This in one way:
    String txt = "AG-01";
    String first = txt.substring(0,3);
    int second = Integer.parseInt(txt.substring(3,5));
    %>
    First string:<%=first%>
    Second int :<%=second%>
    Bye
    Beck74

  • Problem for using oracle xml parser v2 for 8.1.7

    My first posting was messed up. This is re-posting the same question.
    Problem for using oracle xml parser v2 for 8.1.7
    I have a sylesheet with
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">.
    It works fine if I refer this xsl file in xml file as follows:
    <?xml-stylesheet type="text/xsl" href="http://...../GN.xsl"?>.
    When I use this xsl in pl/sql package, I got
    ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
    After I changed name space definition to
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> in xsl file, I got
    ORA-20100: Error occurred while processing: XSL-1019: Expected ']' instead of '$'.
    I am using xml parser v2 for 8.1.7
    Can anyone explain why it happens? What is the solution?
    Yi

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Element's dont have text content, they [b]contain text node children.
    So instead of trying to setNodeValue() on the element, construct a Text node and use the appendChild method on the element to append the text node as a child of the element.<HR></BLOCKQUOTE>
    Steve,
    We are also creating an XML DOM from java and are having trouble getting the tags created as we want. When we use XMLText it creates the tag as <tagName/>value rather than <tagName>value</tagName>. We want separate open and close tags. Any ideas?
    Lori

Maybe you are looking for

  • Dismount multiple external hard disk drives

    I have multiple external hard disk drives and was wondering what the command line is that will dismount all of these at once? Note that there is also one external DVD unit as well which I would not want to dismount. Thanks, Lyman

  • In the mail list pane, 'From' column shows the first sender in a conversation? How to make that the sender of the last mail in the conversation (by time)?

    The first sender in a conversation can be irrelevant after a conversation grows long and I'm more interested in who's active more recently than whoever started the conversation/thread.

  • How to remove mouseover help in WDA?

    Hello Guys, I am getting mouse over kind of help whenever I am taking mouse cursor over inputfield or button. we are on ERP 6.0 EhP4 system. for e.g. button with name Process, the text is "Process - Button -  Process - To activate, press spacebar" In

  • Could not read my LVM file

    Hi Everyone I have created this LVM file after acquiring my signal. Right now i have a problem of extracting data from this LVM file. For example data from cell B24 to J24. I have not experienced anything like this because it should be relatively sim

  • Phone frozen when turning on

    I've just switched my phone off for a minute to see if I could get better reception. However, when I tried to turn my iPhone back on it's frozen. It's stuck on the initial start up screen with the picture of the apple and has been for the last 20 min