Reading XML into a Hashtable
I have the following XML file:
<fields>
<name>J. Postma</name>
<date>21-05-2004</date>
</fields>
I want to put the fields in a Hashtable. Name is the key and "J. Postma" is the value. How can I parse the XML and add the fields into a Hashtable?
Dubwai, me too. But for only a half-day of effort,
you can make a few helper classes that vastly simplify
the day-to-day usage of DOM.Yes. I've done that too. To the OP, if you use DOM, realize that the text value of a single element may be in multiple Text nodes. You can't just grab the first one. You need to loop through all Text node children and concatenate their values.
Similar Messages
-
Need to Parse or Read XML into a ResultSet
Hi, I see lots of examples of folks reading from a database, populating a ResultSet, and then putting that data into an XML document. I don't see any reference to going the other way, and was hoping some of you might have an insight on how to do this.
We have a huge historical database and want to take the older info, put it into xml format, zip it, and store the zip'd result as a blob. That's the easy part.
We want to be able to go back, to read the blob, unzip it, and then populate a ResultSet and return that to the caller. I don't see any slick methodology to either 1.) instantiate an empty ResultSet or 2.) parse/read an XML structure into a ResultSet.
Any bright ideas?
Thanks, John@maggie: That is easily done with XPath expressions, for example:
xmlstarlet sel -t -m '//servers[@country_code="us"]' -c '.' -n vpn.xml
xmlstarlet sel -T -t -m '//servers[@country_code="us"]' -v @public_name -o " " -v @bw -n vpn.xml
xmlstarlet sel -t -m '//servers[@country_code="us"]' -v '@public_name' -o ": " -v '@currentload' -n vpn.xml
xmlstarlet sel -t -m '//servers[@country_code="us" and @currentload<15]' -v '@public_name' -o ": " -v '@currentload' -n vpn.xml
xmlstarlet sel -t -m '//servers[@currentload<15]' -v '@public_name' -o ": " -v '@currentload' -n vpn.xml
http://www.w3schools.com/xpath/default.asp
Edit: If you use json and jshon, then you'll have to do the sorting and filtering in the shell
jshon -e servers -a -e country_code -u -p -e public_name -u -p -e bw -u <vpn.json | {
# filter country_code
while read -r country_code && read -r public_name && read -r bw; do
[ x"$country_code" = x"ca" ] && echo "$public_name $bw";
done
} | sort -k2,2nr -k1,1d # sort second field (bw) numeric reverse, if equal use dictionary sort on first (name)
Last edited by progandy (2015-05-31 05:47:50) -
Issues du read XML into Oracle
Hello all,
I try to insret XML data into Oracle, and I looked on forum for tips. I found (I think) the way to do it, but I have an error :
Here is what I did : I created a table of XMLType (OK) :
CREATE TABLE XML_TAB ( xmlval XMLType);
Then I insert data directly (OK):
INSERT INTO XML_TAB VALUES (
xmltype('<?xml version="1.0"?>
<EMP>
<EMPNO>221</EMPNO>
<ENAME>John</ENAME>
</EMP>'));
Now, I want to import directly from a XML file. I try this :
INSERT INTO Xml_tab
VALUES
xmltype(bfilename('xml_dir','essai2.xml'),nls_charset_id('AL32UTF8'))
it fails with ORA-06553: PLS-306: numéro ou types d'arguments erronés dans appel à 'XMLTYPE' (xml_dir is setup)
or this :
INSERT INTO Xml_tab
VALUES
xmltype('D:/TMP/XML/essai2.xml',nls_charset_id('AL32UTF8'))
it fails with ORA-06553: PLS-307: trop de déclarations de 'XMLTYPE' correspondent à cet appel
I try with Oracle 9i.
Did I miss something ?
I'm not far to succeed what I want to do. Thank's a lot for your help.
AntoineHello,
Thanks for you answer. Oracle version is 9.2.0.4.0.
Thanks also for the BFILENAME information. My problem remains that if I try to read by entering directly the filename, I have the PLS307 error.
I will check the XMLDB FAQ, but I have seen several documentation, and process is always the same, as I do...except for the error.
I will also try in 10g, to see if it works better.
Antoine -
Hi,
If I have a XML file and want to read its attributes into matching columns in a table, what is the best way to map the xml e.g. firstname to a firstname column in the table?
<name>
<firstname>Bill</firstname>
<last>Gates</last>
</name>
ThanksWhy do you want to do this? (Might help with the answer).
-
Hi,
How can I read an xml.file read in an oracle table (invoice varchar2(20), invoice_line number, ship_date date, country varchar2(100))?
The xml looks like this:
<?xml version="1.0" encoding="utf-8" ?>
- <dataset xmlns="http://developer.cognos.com/schemas/xmldata/1/" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
- <!--
<dataset
xmlns="http://developer.cognos.com/schemas/xmldata/1/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://developer.cognos.com/schemas/xmldata/1/ xmldata.xsd"
>
-->
- <metadata>
<item name="Invoice #" type="xs:string" length="42" />
<item name="Invoice Line" type="xs:string" length="10" />
<item name="Ship Date" type="xs:date" />
<item name="COUNTRY" type="xs:string" length="8" />
</metadata>
- <data>
- <row>
<value>26623</value>
<value>0001</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
- <row>
<value>26624</value>
<value>0001</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
- <row>
<value>26624</value>
<value>0003</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
- <row>
<value>26625</value>
<value>0001</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
</data>
</dataset>
Thnx, RobbertHi,
Possible solutions will depend on your db version, which you didn't give.
The following example assumes you're using 10gR2 :
CREATE TABLE invoices (
invoice varchar2(20),
invoice_line number,
ship_date date,
country varchar2(100)
DECLARE
xmldoc xmltype := xmltype(
'<?xml version="1.0" encoding="utf-8" ?>
<dataset xmlns="http://developer.cognos.com/schemas/xmldata/1/" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<metadata>
<item name="Invoice #" type="xs:string" length="42" />
<item name="Invoice Line" type="xs:string" length="10" />
<item name="Ship Date" type="xs:date" />
<item name="COUNTRY" type="xs:string" length="8" />
</metadata>
<data>
<row>
<value>26623</value>
<value>0001</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
<row>
<value>26624</value>
<value>0001</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
<row>
<value>26624</value>
<value>0003</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
<row>
<value>26625</value>
<value>0001</value>
<value>2010-05-03</value>
<value>USA</value>
</row>
</data>
</dataset>'
BEGIN
INSERT INTO invoices (invoice, invoice_line, ship_date, country)
SELECT invoice, invoice_line, to_date(ship_date, 'YYYY-MM-DD'), country
FROM XMLTable(
XMLNamespaces(default 'http://developer.cognos.com/schemas/xmldata/1/'),
'/dataset/data/row'
passing xmldoc
columns
invoice varchar2(20) path 'value[1]',
invoice_line number path 'value[2]',
ship_date varchar2(10) path 'value[3]',
country varchar2(100) path 'value[4]'
END;
/If your XML document resides outside the database, you may also access it directly through a DIRECTORY object :
CREATE OR REPLACE DIRECTORY xmldir AS 'C:\oracle\invoices\xml';
INSERT INTO invoices (invoice, invoice_line, ship_date, country)
SELECT invoice, invoice_line, to_date(ship_date, 'YYYY-MM-DD'), country
FROM XMLTable(
XMLNamespaces(default 'http://developer.cognos.com/schemas/xmldata/1/'),
'/dataset/data/row'
passing xmltype( bfilename('XMLDIR', 'invoices.xml'), nls_charset_id('AL32UTF8') )
columns
invoice varchar2(20) path 'value[1]',
invoice_line number path 'value[2]',
ship_date varchar2(10) path 'value[3]',
country varchar2(100) path 'value[4]'
);Some docs about XMLTable and XML querying with Oracle :
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions228.htm#CIHGGHFB
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_xquery.htm#ADXDB1700
Edited by: odie_63 on 24 juin 2010 20:07 -
Reading XML file from application server and put into internal table-4.6C
Dear All,
Is there any way of reading XML file from application server to SAP? I am using 4.6C. Function module SCMS_STRING_TO_XSTRING function module is not available. Please suggest.
Thanks and regards,
AtanuHi Atanu!
Simply use the XSLT transformation 'ID'.
FIELD-SYMBOLS <ls_result> TYPE ANY.
CREATE DATA lref_data TYPE (your_structure).
ASSIGN lref_data->* TO <ls_result>.
CALL TRANSFORMATION id
SOURCE XML xmlstr
RESULT result = <ls_result>.
"xmlstr" contains your XML file. Just read it into it via standard I/O operations. "<ls_result>" will contain your DDIC formatted content.
Best regards
Torsten -
Reading XML file using BAPI and then uploading that xml file data into SAP
I am getting a xml file from Java server. I need to take
data from this file using BAPI and need to upload into SAP using SAP.
Please tell me how to read XML files using BAPI's.<b>SDIXML_DATA_TO_DOM</b> Convert SAP data (elementary/structured/table types) into DOM (XML
<b>SDIXML_DOM_TO_XML</b> Convert DOM (XML) into string of bytes that can be downloaded to PC or application server
<b>SDIXML_DOM_TO_SCREEN</b> Display DOM (XML)
<b>SDIXML_DOM_TO_DATA</b>
data: it_table like t001 occurs 0.
data: l_dom TYPE REF TO IF_IXML_ELEMENT,
m_document TYPE REF TO IF_IXML_DOCUMENT,
g_ixml TYPE REF TO IF_IXML,
w_string TYPE XSTRING,
w_size TYPE I,
w_result TYPE I,
w_line TYPE STRING,
it_xml TYPE DCXMLLINES,
s_xml like line of it_xml,
w_rc like sy-subrc.
start-of-selection.
select * from t001 into table it_table.
end-of-selection.
initialize iXML-Framework ****
write: / 'initialiazing iXML:'.
class cl_ixml definition load.
g_ixml = cl_ixml=>create( ).
check not g_ixml is initial.
write: 'ok'.
create DOM from SAP data ****
write: / 'creating iXML doc:'.
m_document = g_ixml->create_document( ).
check not m_document is initial.
write: 'ok'.
write: / 'converting DATA TO DOM 1:'.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'IT_TABLE'
DATAOBJECT = it_table[]
IMPORTING
DATA_AS_DOM = l_dom
CHANGING
DOCUMENT = m_document
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
check not l_dom is initial.
write: / 'appending DOM to iXML doc:'.
w_rc = m_document->append_child( new_child = l_dom ).
if w_rc is initial. write 'ok'.
else. write: 'Err =', w_rc.
endif.
visualize iXML (DOM) ****
write: / 'displaying DOM:'.
CALL FUNCTION 'SDIXML_DOM_TO_SCREEN'
EXPORTING
DOCUMENT = m_document
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
convert DOM to XML doc (table) ****
write: / 'converting DOM TO XML:'.
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = m_document
PRETTY_PRINT = ' '
IMPORTING
XML_AS_STRING = w_string
SIZE = w_size
TABLES
XML_AS_TABLE = it_xml
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
write: / 'XML as string of size:', w_size, / w_string.
describe table it_xml lines w_result.
write: / 'XML as table of', w_result, 'lines:'..
loop at it_xml into s_xml.
write s_xml.
endloop.
write: / 'end of processing'.
end of code
Hope this will be useful.
regards
vinod -
How to read xml file and place it into an internal table...
hello all,
can any one help me in - how to read xml data file (placed in application server) and placing the same into an internal table (remove the xml tags or say fetching the xml data without xml tags).Hi Murashali,
use this.
TYPES: BEGIN OF day,
name TYPE string,
work(1) TYPE c,
END OF day.
DATA: BEGIN OF week,
day1 TYPE day,
day2 TYPE day,
day3 TYPE day,
day4 TYPE day,
day5 TYPE day,
day6 TYPE day,
day7 TYPE day,
END OF week.
DATA xml_string TYPE string.
DATA result LIKE week.
week-day1-name = 'Monday'. week-day1-work = 'X'.
week-day2-name = 'Tuesday'. week-day2-work = 'X'.
week-day3-name = 'Wednesday'. week-day3-work = 'X'.
week-day4-name = 'Thursday'. week-day4-work = 'X'.
week-day5-name = 'Friday'. week-day5-work = 'X'.
week-day6-name = 'Saturday'. week-day6-work = ' '.
week-day7-name = 'Sunday'. week-day7-work = ' '.
CALL TRANSFORMATION ...
SOURCE root = week
RESULT XML xml_string.
CALL TRANSFORMATION ...
SOURCE XML xml_string
RESULT root = result.
Regards,
Vijay -
How to read XML file and write into another XML file
Hi all, I am new to JAVAXML.
My problem is I have to read one XML file and take some Nodes from that and write these nodes into another XML file...
I solved, how to read XML file
But I don't know how to Write nodes into another XML.
Can anyone help in this???
Thanks in advance..This was answered a bit ago. There was a thread called "XML Mergine" that started on Sept 14th. It has a lot of information about what it takes to copy nodes from one XML Document object into another.
Dave Patterson -
Please recommend if we have options to read xml file and insert data into table without a temporary table.
DECLARE @data XML;
SET @data =N'<Root>
<List RecordID="946236" />
<List RecordID="946237" />
<List RecordID="946238" />
<List RecordID="946239" />
<List RecordID="946240" />
</Root>'
INSERT INTO t (id) SELECT T.customer.value('@RecordID', 'INT') AS id
FROM @data.nodes('Root/List')
AS T(customer);
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Read XML from a hardware sensor file into ODI
Read XML from a hardware sensor file into ODI
Hi,
I am trying to extract xml data from a flowmeter that generates XML data.
The xml file is found in http://ip_address/history.xml
I’ve defined my Topology as such
JDBC Driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
JDBC URL: jdbc:snps:xml?f=http://192.168.0.202/history.xml&ro=true
Please note to access the file I have to supply a username and password so I did in the definition But when testing my setup I get an error:
ava.sql.SQLException: The DTD file "http://192.168.0.202/history.dtd" doesn't exist: Server redirected too many times (20)
Please note I cannot write dtd to the device as it is a read only device.
Has anyone came across such an issue, how can I achieve this.
Thanks
HichamHi David,
Thanks for your reply.
I've tried this jdbc url
jdbc:snps:xml?f=http://192.168.0.202/history.xml&d=c:\temp\history.dtd
but when I test the connection i get the following error
java.sql.SQLException: While generating the DTD from the XML file, a java.io.IOException exception occurred saying: Server returned HTTP response code: 401 for URL: http://192.168.0.202/history.xml
If I browse http://192.168.0.202/history.xml and i supply the username and password I get an xml page.
I've supplied the username and password in the definition tab of the Data Server windows but still getting the above error.
THanks
Hicham -
Unable to Read XML files into PI 7.0
Dear Friends,
I am working on File to IDOC and IDoc to File scenario with a shared folder concept.
we have tested all our transactions to and fro with out any problem. Two days back we faced sudden server shut down due to power issue.
From that day we are facing problem in reading files into XI
We are not facing any problem during outbound transactions from SAP on the same business system, where inbound folder path is also mentioned.
I have checked in Monitoring under communication channel..
it is showing comm channal is correctly configured...
is there any way i can check where it is going wrong..
Any thoughts and suggestions is highly rewarded.
Thanks & Regards,
SumanHi Santhosh,
We have given full folder permissions for all users. Processed read file option is not enabled in my Sender CC.
Thanks for quick response.
Regards,
Suman -
Read XML file into stored procedure
hi to all, i have this stored procedure :
create or replace
PROCEDURE INSERTXML(
p_xml_in CLOB,
p_table IN VARCHAR2 ) AS
insCtx DBMS_XMLStore.ctxType;
v_rows NUMBER;
BEGIN
insCtx := DBMS_XMLStore.newContext(p_table); -- get saved context
dbms_xmlstore.setRowTag(insCtx,'Row');
DBMS_XMLStore.clearUpdateColumnList(insCtx); -- clear the update settings
-- set the columns to be updated as a list of values
DBMS_XMLStore.setUpdateColumn(insCtx,'ORDERNUMBER');
DBMS_XMLStore.setUpdateColumn(insCtx,'PLANT');
DBMS_XMLStore.setUpdateColumn(insCtx,'MATERIAL');
DBMS_XMLStore.setUpdateColumn(insCtx,'LINENUMBER');
DBMS_XMLStore.setUpdatecolumn(insCtx,'NOMSPEED');
DBMS_XMLStore.setUpdatecolumn(insCtx,'STARTDATE');
DBMS_XMLStore.setUpdatecolumn(insCtx,'FINISHDATE');
DBMS_XMLStore.setUpdatecolumn(insCtx,'TARGETQTY');
DBMS_XMLStore.setUpdatecolumn(insCtx,'UNIT');
DBMS_XMLStore.setUpdatecolumn(insCtx,'SYSTEMSTATUS');
v_rows := DBMS_XMLStore.insertXML(insCtx, p_xml_in);
-- Close the context
DBMS_XMLStore.closeContext(insCtx);
END;
that passes xml file and puts in table but SAP Mii have the limitation that the maximun value of strings is 4000..how can i pass this limitation?!?! someone have some ideia?!?!...i have now to read XML file to stored procedure...could someone help me??
regards and thanks in advancehello Michael thanks for your help but appear to me some strange errors, i created this package in Oracle SQL Developer...
create or replace PACKAGE PACKAGE_XML AS
type return_cur IS ref CURSOR;
procedure INSERTXML4(
xmlDoc IN CLOB,
tableName IN VARCHAR2,
myRC IN OUT return_cur
END PACKAGE_XML;
and compile and everthing is ok, then i changed my SP and it looks like this:
create or replace PROCEDURE INSERTXML4
(xmlDoc in CLOB, tableName in VARCHAR2, refcur in out package_xml.return_cur)
AS
insCtx dbms_xmlsave.ctxType;
rowcnt number;
BEGIN
insCtx := dbms_xmlsave.newContext(tableName);
dbms_xmlsave.setignorecase(insCtx,1);
rowcnt := dbms_xmlsave.insertxml(insCtx, xmlDoc);
dbms_xmlsave.closecontext(insCtx);
OPEN refcur FOR SELECT rowcnt AS cnt FROM dual;
END INSERTXML4;
but i cant compile...it throws this errors:
Error(5,10): PLS-00201: identifier 'DBMS_XMLSAVE.CTXTYPE' must be declared
Error(5,10): PL/SQL: Item ignored
Error(8,3): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(8,3): PL/SQL: Statement ignored
Error(9,3): PL/SQL: Statement ignored
Error(9,30): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(10,3): PL/SQL: Statement ignored
Error(10,13): PLS-00201: identifier 'DBMS_XMLSAVE.INSERTXML' must be declared
Error(11,3): PL/SQL: Statement ignored
Error(11,29): PLS-00320: the declaration of the type of this expression is incomplete or malformed
do you could help..
regards
Mário -
Hi friends,
I am working in SAP 4.6c. Please help me in the following scenario.
I have to read the xml whixjh in the application server.
I have to Make sure each XML only contains 1 IDOC. If 10 idocs are pushed out , there should be 10 XML messages. 1 idoc per XML.
So if the FM receives a message that contains 10 idocs, the routine just needs to split the XML into 10 separate XML's using YYYYMMDDHHMMSS_IDOCNUMBER.XML as the new of each XML.
Convert the XML into UTF-8 compliant
above is my requirement.
Can you guide me how to read a XMl file and findout how many idocs are present in that...
Please guide me...
Thanks in advance,
SudhaHi Sudha,
Refer this blog and thread to get more information on how to process XML documents.
/people/thomas.jung3/blog/2004/06/24/bsp-150-a-developer146s-journal-part-v-xml-for-rfcs
redaing an XML file to an internal table
Regards,
Uma
Message was edited by: Uma Maheswari -
Reading XML file in a Store App
I have an XML file on the web which I want to read from a C# Store app. This file is actually an Atom feed, but that doesn't matter, I just want to get the XML contained within.
Anyway, I tried several methods but none of them can get me what I want.
My requirements are pretty simple, I want to get each Entry, and from it take the Summary, and from it take the entire text including the tags. The closest I got was being able to get the entire text contained within <Summary>, but without the child
tags <short-description> and <tab>, but I want them too.
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>Product Details</title>
<link rel="self" href="http://someLink" />
<subtitle>Product Details</subtitle>
<id>somID</id>
<updated>2015-03-04T11:20:05Z</updated>
<dc:date>2015-03-04T11:20:05Z</dc:date>
<entry>
<title type="text">Loan ABC</title>
<link rel="alternate" href="http://somLink" />
<author>
<name />
</author>
<summary type="text">
<short-description>Get the money you need when you need it! Your perfect banking partner provides you instant gold loans at cheaper interest rates.</short-description>
<tab id="0" header="Features & Benefits">
Avail loan amount up to Rs.75 Lakhs
Quick processing within a few minutes
No hidden charges or heavy pen
*Conditions apply
</tab>
<tab id="1" header="How to apply ?">
Who can apply
Any Individuals.
How to avail the loan?
To avail the loan, Please visit any of our branches.
</tab>
<accordian id="0" header="Documents Required">
If you are a new customer, following documents are required:
Proof of Identity (Passport / Voters ID card/ Driving License/PAN Card)
Recent Passport size photograph
Address Proof (Ration card Tel/ Electricity Bill/ Lease agreement/ Passport/Trade license /Sales Tax certificate)
</accordian>
<accordian id="1" header="Repayment options">
Repayment of the loan can be made as lump sum or as installments
</accordian>
<accordian id="2" header="Gold loan - Rate per gram">
To know the maximum amount per gram, please click here.
</accordian>
<accordian id="3" header="Interest Rates & Charges">
Please visit the Interest Rates page for details
</accordian>
</summary>
</entry>
<entry>
<title type="text">Federal Proxy Loan </title>
<author>
<name> BMA </name>
</author>
<summary type="text">
<short-description>Do you want a loan ? We give out loans !!! At nominal interest rates !!! </short-description>
<tab id="0" header="ABC & DEF">
This is Line 1
This is Line 3 (Line 2 was empty)
4
5
</tab>
<tab id="1" header="Header of ID 1">
ABCDEFGHI
</tab>
</summary>
</entry>
<entry>
<title type="text">Federal Car Loan </title>
<author>
<name> BMA </name>
</author>
<summary type="text">
<short-description>Do you want a loan ? We give out loans !!! At nominal interest rates !!! </short-description>
<tab id="0" header="ABC & DEF">
This is Line 1
This is Line 3 (Line 2 was empty)
4
5
</tab>
<tab id="1" header="Header of ID 1">
ABCDEFGHI
</tab>
</summary>
</entry>
<entry>
<title type="text">Yet Another Federal Loan </title>
<author>
<name>BMA</name>
</author>
<summary type="text">
<short-description>We give wonderful loans, all for you - cum and get it</short-description>
<tab id="0" header="Header & d">
This is Line 1
This is Line 2
This is Line 3
</tab>
<tab id="1" header="abc">
Only One Line for Tab 1
</tab>
</summary>
</entry>
</feed>Take a look at linq to xml to parse the xml
https://msdn.microsoft.com/en-us/library/bb387098.aspx?f=255&MSPPError=-2147217396
Another option if the xml is always in the same format you can create a class to deserialize the xml into.
http://irisclasson.com/2012/07/09/example-metro-app-winrt-serializing-and-deseralizing-objects-to-storagefile-and-localfolder-using-generics-and-asyncawait-threading/
Maybe you are looking for
-
It's possible to change the width of display of a field in report ?
Hello, In my report , I want to increase or reduce the width of a field in Paper Design according to some values. I have used 'SRW.SET_BORDER_WIDTH(width)' function but it don't works. How can I process ? Regardly.
-
The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings noth
-
Mount FAT32 USB flash storage in Solaris 10
Hi guys, girls, and undecided. I've just upgraded my Winblows XP laptop to dual-boot Solaris 10. I've been trying in vain to get a few things working, the most annoying of which is my USB flash storage disk. I've tried 'pkill -HUP vold', to no avail
-
PDF password security greyed out while saving a PDF MP Navigator
Hello, I am unable to set a password for pdf's that I scan with MP Navigator. I have been doing it for years, but now it has greyed out. It is not selectable. I recently upgraded my mobo and did a clean reinstall. The problem occurred before the upgr
-
What is the text table in ddic ?how do we create in ddic
pl stell what is text table . how to create it . what is the use of it ? pls tell me the names of some std text tables. 2. how to identify the pool and cluster tables that r existing in the ddic . pls tell some std pool and cluster tables mnmaes. wha