Unflattern in C#: How to parse LV-generated XML in CSharp?

Hello,
it is very easy to flattern an object (e.g. my cluster,...) to XML string in LabView!
And it is also very easy to unflattern this XML string back to the object (to my cluster).
What I want:
1. Flattern Cluster in LabView to XML string
2. Store in SQL Database
3. Read (Unflattern) in C# Application
e.g. my cluster consists of:
1. integer: num1
2. boolean: on
3. array of clusters (bool, int): data1
Question: How to unflattern the XML string in C#?
Thank you verymuch in advance!
BR
EWiebe
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
Attachments:
Flattern_Unflattern_in_LV.vi ‏10 KB

I don't know anything about how C# treats XML.  However, if you have the XML file that LabVIEW produces, it is "human-readable", so you can print it out and look at it.  What does C# expect for its XML?  If you don't know, try generating a C# XML file with the same type of data that you used in LabVIEW (using analogous C# constructs).  Print that file out, as well.
If everything were the Best in this Best of All Possible Worlds, the two files would be identical.  I'm going to guess that they'll be different, but (with luck) the differences will be (a) obvious and (b) "editable", that is, you should be able to make a "LabVIEW-to-C# XML Translator" that will transform the LabVIEW XML file to a form that C# can interpret.  Indeed, there may be XML features (analogous to Style Sheets) that will do this for you.
Good Luck.
BS

Similar Messages

  • How to parse contents from XML file in Java

    Hi All,
    I have a scenario like this . I have one xml file with key value pairs of ( name , URL ) . I have retrieved contents from XML file , now I want to parse these contents and store in a bean object.
    How to parse Contents of XML file??
    Thanks in advance,
    Rajendra.

    Hi All,
    I have a scenario like this . I have one xml file with key value pairs of ( name , URL ) . I have retrieved contents from XML file , now I want to parse these contents and store in a bean object.
    How to parse Contents of XML file??
    Thanks in advance,
    Rajendra.

  • How can (parse) i use XML file with missing EndTag

    hi,
    i have an application which writes an "XML file".
    another application should read that XML file, build an DOM and
    access the nodes with xpath.
    my problem. if the first application is not finished there are tags
    missing. e.g. </xml>. but the seconds application cannot wait until the first application finishes it task.
    if i now read the XML file the parser cannot load it because the end tags are missing.
    my question:
    how can i deactivate the check or how can i read the XML file and access it via XPath (my application is using at the moment XPath to access the nodes and i dont want to change that)
    as parser i am using XERCES
    alex

    As far as I know, you can't do this - xml must be well formed (this is sort of a bedrock of xml). There may be some work around's, but I'm not aware of any - and they would most likely be hacks.

  • How to parse a dynamic xml in java

    I have to parse a dynamic xml document : the different TheItemNames and the racine are changing . So , can you help me with a code because to parse a xml document you must presents the racine and TheItemNames

    My previous post gives me an idea on how to use ArrayList of ArrayList as dynamic 2 dimensional array.
    More info bellow
    ArrayList rows = new ArrayList()
    ArrayList columns_of_row0 = new ArrayList()
    rows.insertAt(0) = columns_of_row0;
    ArrayList columns_of_row1 = new ArrayList()
    rows.insertAt(1) = columns_of_row1;and so on..
    You can't use the code exactly or similar way, it would depend on how this array grows in your application.
    But this and my previous post should give an idea on how to insert and retrieve elements from ArrayList when
    treated as 2 dimensional array.
    Hope this helps.

  • How to parse the result xml string in BPEL

    Hi,
    This is Ishmayel.v new to BPEL and hava experience in xml parsing, java and webservices.
    Now I am getting the XML file as a result string in BEPL.
    now I want to parse the XML string and insert into the database... If any one has the idea let me know.
    my email id is [email protected]
    Thanks in Advance,
    Regards,
    Ishmayel.

    Your question is not clear.
    You have a client applicaton which invokes a BPEL process and receives XML response from BPEL. Then you want to parse this response XML in your client application?
    Or you are running a BPEL process which invokes a service and receives an XML response. Then you want to parse this XML response in BPEL before your process can proceed?
    I have to assume that you are working with a string and then you want to convert the string into XML, and then parse the XML. If this is the case, then take a look at the ora:parseEscapedXML(contentString) function. You can use this in the expression editor in JDev.

  • How to Read and Generate XML file from java code.

    hi guys,
    how to read the xml file (Condition :we know only DTD or Shema only).
    How to Generate the new xml file ?(using Shema )
    And one more how directly Generate the xml from DB?
    Pleas with code or any URL

    Using XMLbeans you can generate Java objects from an XSD schema (perhaps DTDs aswell)
    Then you can create an instance of the Document object and ask it to write itself.
    This will create an XML document complient to the schema.
    XMLBeans generates a "type" safe DOM where you can only ever have a structure compilent to you schema.
    matfud

  • How to parse data from XML with prefix?

    Hi folks,
    I have an XML which tags include prefixes. I would like to parse it using a select. Any ideas?
    [Sample XML|http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501]
    I tried this:
    select xml
    from
       (  select
                httpuritype('wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501').getXML() xml
          from dual
        );This just returns XML.
    select  x.ico,
            x.org_name
        from dual d
             ,XMLTABLE('/are:Ares_odpovedi/are:Odpoved/D:Vypis_OR'
                        PASSING httpuritype('http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501').getXML()
                        COLUMNS
                           ico varchar2(50) PATH 'D:ZAU/D:ICO'
                          ,org_name varchar2(200) PATH 'D:ZAU/D:OF'
                        )  x
       where rownum = 1
    ORA-19228: XPST0008 - undeclared identifier: prefix 'are' local-name 'are:Ares_odpovedi'Any idea how to simply get all details into columns?
    Thanks,
    Tomas

    add xmlnamespaces to xmltable
    select  x.ico,
            x.org_name
        from XMLTABLE(
             xmlnamespaces('http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_answer_or/v_1.0.3' as "are"
             , 'http://wwwinfo.mfcr.cz/ares/xml_doc/schemas/ares/ares_datatypes/v_1.0.3' as "D"),
             '/are:Ares_odpovedi/are:Odpoved/D:Vypis_OR'
                        PASSING httpuritype('http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=46972501').getXML()
                        COLUMNS
                           ico varchar2(50) PATH 'D:ZAU/D:ICO'
                          ,org_name varchar2(200) PATH 'D:Vypis_OR/D:ZAU/D:OF'
                        )  x
       where rownum = 1not tested

  • How to parse the following xml file

    Hi
    I have an xml file with the following data
    Example.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <html><set label="09/07/29" value="1241.90"/>
    </html>
    How do i retrive the values of the attributes
    Example i want the label value 09/07/29
    and 1241.90 to be inserted into some temp table.
    Appreciate if any one can provide me the solution.
    Thanks,

    it's more an XQuery question than DB XML one.
    Anyway, you can use the following queries to get attributes values:
    doc(<your_doc>)/html/set/@label
    doc(<your_doc>)/html/set/@valueYou can retrieve both values in a single query, but for this please refer to the XQuery specification.
    Or read: [http://www.oracle.com/technology/documentation/berkeley-db/xml/gsg_xml/java/xquery.html#xqueryintro]
    Best,
    Vyacheslav

  • Parsing iTunes generated XML

    Hi All-
    I'm trying to use an xml file exported from iTunes as the
    source of my
    datagrid but I'm having trouble getting it to pick up the
    data. A sample of
    the XML is below. I was trying to use a labelFunction but it
    isn't working.
    I'm sure it has something to do with the names being stored
    in <key></key>
    but I am not sure how to get around this. Any help would be
    appreciated or
    if this has been asked before some ideas of what I can search
    on would be
    great. I am not sure what exactly this sort of XML structure
    is called.
    Thanks,
    -Dan
    <dict>
    <key>Major
    Version</key><integer>1</integer>
    <key>Minor
    Version</key><integer>1</integer>
    <key>Application
    Version</key><string>7.0.2</string>
    <key>Features</key><integer>1</integer>
    <key>Show Content Ratings</key><true/>
    <key>Music
    Folder</key><string>file://localhost/D:/Music/iTunes/iTunes%20Music/</string>
    <key>Library Persistent
    ID</key><string>5ED56DCA1BEDBBBD</string>
    <key>Tracks</key>
    <dict>
    <key>12627</key>
    <dict>
    <key>Track
    ID</key><integer>12627</integer>
    <key>Name</key><string>Live
    Life</string>
    <key>Artist</key><string>ZOEgirl</string>
    <key>Album Artist</key><string>Zoe
    Girl</string>
    <key>Genre</key><string>Gospel</string>
    <key>Kind</key><string>MPEG audio
    file</string>
    <key>Size</key><integer>5843072</integer>
    <key>Total
    Time</key><integer>243435</integer>
    <key>Date
    Modified</key><date>2005-01-25T08:56:44Z</date>
    <key>Date
    Added</key><date>2007-02-02T07:05:19Z</date>
    <key>Bit
    Rate</key><integer>192</integer>
    <key>Sample
    Rate</key><integer>44100</integer>
    <key>Normalization</key><integer>7356</integer>
    <key>Persistent
    ID</key><string>7042A9A362F5B71B</string>
    <key>Track
    Type</key><string>File</string>
    <key>Location</key><string>file://localhost/D:/Music/ZOEgirl/ZOEgirl%20-%20Live%20Life.mp 3</string>
    <key>File Folder
    Count</key><integer>-1</integer>
    <key>Library Folder
    Count</key><integer>-1</integer>
    </dict>
    <key>12628</key>
    <dict>
    <key>Track
    ID</key><integer>12628</integer>
    <key>Name</key><string>Living For
    You</string>
    <key>Artist</key><string>ZOEgirl</string>
    <key>Genre</key><string>Gospel</string>
    <key>Kind</key><string>MPEG audio
    file</string>
    <key>Size</key><integer>5440558</integer>
    <key>Total
    Time</key><integer>226638</integer>
    <key>Date
    Modified</key><date>2005-01-31T20:24:18Z</date>
    <key>Date
    Added</key><date>2007-02-02T07:05:19Z</date>
    <key>Bit
    Rate</key><integer>192</integer>
    <key>Sample
    Rate</key><integer>44100</integer>
    <key>Normalization</key><integer>10485</integer>
    <key>Persistent
    ID</key><string>7042A9A362F5B71F</string>
    <key>Track
    Type</key><string>File</string>
    <key>Location</key><string>file://localhost/D:/Music/ZOEgirl/ZOEgirl%20-%20Living%20For%2 0You.mp3</string>
    <key>File Folder
    Count</key><integer>-1</integer>
    <key>Library Folder
    Count</key><integer>-1</integer>
    </dict>

    Don't know about the db side, but here is an example that
    works. Sorry about the formatting, I'll send it direct to you if
    you send me an email.
    Tracy
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    creationComplete="initApp()">
    <mx:Script><![CDATA[
    import mx.collections.XMLListCollection;
    [Bindable]private var _xlcTracks:XMLListCollection;
    private function initApp(): void
    _xlcTracks = new XMLListCollection(iTunesData.dict.dict);
    //get to the track "dict" nodes
    private function lfnTracks(oItem:Object,
    dgc:DataGridColumn):String
    var xmlItem:XML = XML(oItem);
    var sHeaderText:String = dgc.headerText; //so we can check
    which column we are working with
    var xl:XMLList = xmlItem.children(); //list of all the child
    nodes of Track "dict"
    var xmlKey:XML = xmlItem.key.(text()==sHeaderText)[0];//find
    the <key> node that matches the header text
    var iChildIndex:int = xmlKey.childIndex(); //get its index
    var xmlValue:XML = xl[iChildIndex+1] //find the next node
    var sLabel:String = xmlValue.text(); //ger and return the
    text() value
    return sLabel;
    }//lfnTracks
    ]]></mx:Script>
    <mx:DataGrid id="dgTracks" dataProvider="{_xlcTracks}"
    editable="true" >
    <mx:columns>
    <mx:Array>
    <mx:DataGridColumn headerText="Name"
    labelFunction="lfnTracks" />
    <mx:DataGridColumn headerText="Artist"
    labelFunction="lfnTracks" />
    <mx:DataGridColumn headerText="Genre"
    labelFunction="lfnTracks" />
    </mx:Array>
    </mx:columns>
    </mx:DataGrid>
    <mx:XML id="iTunesData" xmlns="">
    <dict>
    <key>Major Version</key>
    <integer>1</integer>
    <key>Minor Version</key>
    <integer>1</integer>
    <key>Application Version</key>
    <string>7.0.2</string>
    <key>Features</key>
    <integer>1</integer>
    <key>Show Content Ratings</key>
    <true/>
    <key>Music Folder</key>
    <string>file://localhost/D:/Music/iTunes/iTunes%20Music/</string>
    <key>Library Persistent ID</key>
    <string>5ED56DCA1BEDBBBD</string>
    <key>Tracks</key>
    <dict>
    <key>12627</key>
    <dict>
    <key>Track ID</key>
    <integer>12627</integer>
    <key>Name</key>
    <string>Live Life</string>
    <key>Artist</key>
    <string>ZOEgirl</string>
    <key>Album Artist</key>
    <string>Zoe Girl</string>
    <key>Genre</key>
    <string>Gospel</string>
    </dict>
    <key>12628</key>
    <dict>
    <key>Track ID</key>
    <integer>12628</integer>
    <key>Name</key>
    <string>Living For You</string>
    <key>Artist</key>
    <string>ZOEgirl</string>
    <key>Genre</key>
    <string>Gospel</string>
    </dict>
    </dict>
    </dict>
    </mx:XML>
    </mx:Application>

  • Generating XML content with SAX including schema reference

    Hi all, XML newbie question here.
    I'm trying to generate an XML document from a certain file format using SAX, but I can't figure out how to get the generated XML document to include a schema reference.
    Here's the code, it's taken from posts on this forum, so it should be familiar:
    StreamResult streamResult = new StreamResult(out);
            SAXTransformerFactory tf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try {
                TransformerHandler hd = tf.newTransformerHandler();
                Transformer serializer = hd.getTransformer();
                serializer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1");
                serializer.setOutputProperty(OutputKeys.INDENT, "yes");
                hd.setResult(streamResult);
                hd.startDocument();
                AttributesImpl atts = new AttributesImpl();
                hd.startElement("http://maul.ddm.apm.bpm.eds.com", "DTR_XML", "DTR_XML", atts);
                hd.endElement("http://maul.ddm.apm.bpm.eds.com", "DTR_XML", "DTR_XML");
                hd.endDocument();
            } catch (SAXException e) {
                e.printStackTrace();
            } catch (TransformerConfigurationException e) {
                e.printStackTrace();
            }Here's the output I get:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <DTR_XML/>
    And I'm looking for output like this (I think - basically I have this dtr_xml.xsd located at the root web directory on http://maul.ddm.apm.bpm.eds.com and I want the generated XML file to reference that schema for validation when parsing):
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <DTR_XML xmlns="http://maul.ddm.apm.bpm.eds.com"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maul.ddm.apm.bpm.eds.com dtr_xml.xsd"/>

    Yes, you've led me along the right track with the attributes stuff. Here's what I've got right now...
    StreamResult streamResult = new StreamResult(out);
            SAXTransformerFactory tf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try {
                TransformerHandler hd = tf.newTransformerHandler();
                Transformer serializer = hd.getTransformer();
                serializer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1");
                serializer.setOutputProperty(OutputKeys.INDENT, "yes");
                hd.setResult(streamResult);
                hd.startDocument();
                AttributesImpl atts = new AttributesImpl();
                atts.addAttribute("", "xmlns", "xmlns", "CDATA", "http://maul.ddm.apm.bpm.eds.com");
                atts.addAttribute("", "xsi", "xmlns:xsi", "CDATA", "http://www.w3.org/2001/XMLSchema-instance");
                atts.addAttribute("", "schemaLocation", "xsi:schemaLocation", "CDATA", "http://maul.ddm.apm.bpm.eds.com dtr_xml.xsd");
                hd.startElement("", "DTR_XML", "DTR_XML", atts);
                hd.endElement("", "DTR_XML", "DTR_XML");
                hd.endDocument();
            } catch (SAXException e) {
                e.printStackTrace();
            } catch (TransformerConfigurationException e) {
                e.printStackTrace();
            }This produces the output I wanted earlier...
    As for the org.xml.sax.helpers.NamespaceSupport, I can't seem to find any documentation on using it anywhere, and the javadoc is cryptic to me. Maybe it's used internally in SAX for tracking namespaces or something like that.
    Another interesting thing to me is that if I use the code you gave:
    atts.addAttribute("http://www.w3.org/2001/XMLSchema-instance", "schemaLocation",
         "xsi:schemaLocation", "CDATA", "http://maul.ddm.apm.bpm.eds.com dtr_xml.xsd");I don't see "http://www.w3.org/2001/XMLSchema-instance" anywhere in the output. Is SAX ignoring the namespace uri argument? It appears so. The javadoc states that the uri argument is "The Namespace URI, or the empty string if none is available or Namespace processing is not being performed." It would appear that Namespace processing is not being done... but I don't know how to turn it on.

  • Ampersand character encoding in generated xml

    Hi,
    I'm generating xml from my relational database tables using XSU. I'm having a problem where my table column contains data with the ampersand symbol as in 'Black & White'. XSU generates my xml but i can't parse the generated xml till i convert the '&' to '&amp;'.
    Is there a way to tell XSU to encode these symbols in the generated xml? I would like to avoid storing the encoded data in my relational tables like 'Black &amp; White'.
    I'm using the XDK for PL/SQL for Unix 9.2.0.3.0 on Oracle 8.1.7.3.
    I would appreciate if someone could help me out with this issue.
    Thanks,
    Sanjit
    [email protected]

    I've got the same problem but not only with the & but also with strange characters like
    Belgik -> k
    Comiti -> i
    Its something like {( returns..
    Is this a bug or something?
    Thanks in advance, Didier

  • *URGENT * Parsing nd Searching XML with DOM

    Hi,
    I am Juliana, I am a new grad, a new employee and brand new to XML, I am learning to parse XML with the XML parser for PLSQL.
    Please anyone help me how to parse the following XML string so that I will display all the session and its time schedule, or if possible display only the session that I want to display.
    Thank you very much for any of your help
    Juliana
    <Student> Id="9130099">
    <Class>
    <Session>A-100</Session>
    <Session>A-200</Session>
    <Session>A-300</Session>
    <Session>A-400</Session>
    <session>A-500</Session>
    </Class>
    <Time> At:
    <At>10:30</At>
    <At>12:30</At>
    <At>02:30</At>
    <At>04:30</At>
    <At>05:30</At>
    </time>
    </Student>

    thx for the replay
    1) i thought of using xpath but wanted to know how to do it over DOM
    2) i mean that the 3 <item> have other element inside like that:
    <item>
    <title>Implementing Service-Oriented Architectures (SOA) with the Java EE 5 SDK</title>
      <link>http://java.sun.com/developer/technicalArticles/WebServices/soa3/?feed=JSC</link>
      <description>This article presents concepts and language constructs needed to develop a Service-Oriented Architecture composite application in Java EE 5. It then describes an example application designed to solve a business problem.</description>
      <date />
      </item>and all of them have <title>, <link> etc. I want to get the same values(eg. <title>) from all the 3 <item> and not including the <title> in the begining of xml
    3) i am a professional child.....joke....
    try to get to your sensitive side...thats way.

  • How to Parse the XML generated by Mapping LookUp - RFC API

    Hi Friends,
    I m using the link by Michal Krawczyk for Mapping Lookups - RFC API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    How to parse the XML created in the target node ?
    Regards
    Pravesh

    Hi,
    Check the second half of my code in this blog,
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    It deals with webservice call's but almost the same for RFC.
    Regards
    Bhavesh

  • How to parse the output of a JSP?

    Hi,
    I need to parse the generated contents of a JSP file from within the web application (i.e. another JSP). Any ideas how this might work? It seems that XPath will not parse a file which doesn't end in .xml, and even if it did, I get the feeling it would parse the source file rather than the output.
    Cheers,
    Catalin

    It is a javascript bit taken directly from the XPath example at W3Schools ( [Example Page|http://www.w3schools.com/XPath/xpath_examples.asp], or [Code|http://www.w3schools.com/XPath/tryit.asp?filename=try_xpath_select_pricenodes_text] ).
    Edited by: K-tutzah on May 19, 2008 5:05 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to validate generated XML-Document in Memory by XML-Schema?

    Hi all!
    I have the following problem:
    I am generating a Document using the DOM delivered with Xerces 2.6.2.
    Before I'll send the generated xml-document through network to another system I have to check with my xml-schema if the document is correct.
    In the DOM-FAQ I found an "example" trying to explain how it should work. But with this example the problems begin.
    I am creating my document with this method:
         public void createDocument() {
              myDOM = DOMImplementationImpl.getDOMImplementation();
              doc = myDOM.createDocument("", "documentData", null);
              root = doc.getDocumentElement();
              root.setAttribute(
                   "xmlns:xsi",
                   "http://www.w3.org/2001/XMLSchema-instance");
              //          root.setAttribute("xsi:noNamespaceSchemaLocation", "myScheme.xsd");
              domConfig = ((DocumentImpl) doc).getDomConfig();
              domConfig.setParameter(
                   "schema-location",
                   "file:///d:/workspace/XMLProject/WebContent/WEB-INF/myScheme.xsd");
              domConfig.setParameter("error-handler", new EHandler());
              domConfig.setParameter("validate", Boolean.TRUE);
         }In the line getting the domConfig, it is getting differeing to the example: The example is like this:
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMConfiguration;
    import org.w3c.dom.ls.LSParser;
    Document document = builder.parseURI("data/personal-schema.xml");
    DOMConfiguration config = document.getConfig();
    config.setParameter("error-handler",new MyErrorHandler());
    config.setParameter("validate", Boolean.TRUE);
    document.normalizeDocument();They get the DOM-Configuration from the document-Object, but my document-Object has no "getConfig()" and only after type-casting I get a getDomConfig()-Method to get the configuration.
    Then I fill my document and call                
    ((DocumentImpl) doc).normalizeDocument();When I run my Application I get the following error:
    org.w3c.dom.DOMException: FEATURE_NOT_SUPPORTED: The parameter schema-location is recognized but the requested value cannot be set.
         at org.apache.xerces.dom.DOMConfigurationImpl.setParameter(Unknown Source)
         at xmlProject.createDocument(Convert.java:63)
         at xmlProject.Convert.main(Convert.java:154)I tried several ways to get the validation without success.
    The next question is how I should refer to my xml-schema (which path) and where to place it relative to my jar I will generate, because I will have no webserver I could place it on.
    Has anyone any experience with validating a document created and not placed on disc?
    I have also another question to SAX: I read, that it is reading a document without saving it in the memory. I think this means that if I am validating it by SAX it will be read once and for parsing it will be read a second time. If I would transfer the document over an tcp-connection, I only have the document once in my inputstream and after validation it would be consumed I think. But what can I parse then? Or did I missed a detail with the function of the SAX?
    Thank you for your help!
    Yours
    Christian

    static final String schemaSource = argv[0];
    static final String JAXP_SCHEMA_SOURCE =
    "http://java.sun.com/xml/jaxp/properties/schemaSource";
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    factory.setAttribute(JAXP_SCHEMA_SOURCE,
    new File(schemaSource));

Maybe you are looking for

  • Error while updating decimal places in general settings

    Hii All          I have got an error while updating Decimal places in General Settings Cannot update while another user is connected to the company i have checked, there is no other user logged in, i could add other settings but the problem is only w

  • IOS devices can't see entire iTunes library via Home Sharing

    Using both iPad 2 and iPhone 4s to view iTunes library on my iMac via Home Sharing. Both see very limited amounts of Artists/Albums from iMac library. Also, both see different Artist/Albums. p.s. I used Home Sharing for 3 yrs w/o problems, before thi

  • Distortion after converting wav file to mp3

    Hello, I am working with a .wav file of 8k sample rate, 16-bit, mono of a Skype conference call that was recorded through the computer. The wav is file is Microsoft ACM: Microsoft ADPCM. The audio quality of the original is not great, as you can imag

  • Spreadsheet output on more than one sheet in the same workbook

    I have created many reports having the output being a spreadsheet. But the output is on 1 worksheet in 1 workbook. Any thoughts on how to make 1 report output to more than 1 worksheet in 1 workbook? We are using Reports 10g. Thanks!! Kris

  • Object Expected error in Struts JSP file

    Hi, I have a very simple JSP file as shown below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@ taglib uri="/tags/struts-html" prefix="html" %> <html> <head> <title>pqGlobalStoreProfile.jsp</title> </head> <body onLoad="getSessi