How to put color combination like red/blue tag in the XML file
Hi experts,
i have developed one program to capture some DATA in one internal table.it contains 2 fields called addition flag and dedletion flag.then i have wriiten the following code for converting the XML file for the above internal table data.i am passing this internal table in the following FM ''SDIXML_DATA_TO_DOM'.But as per our requirement,they need the REd color tag for addition flag and blue Color tag for the deletion flag in the Above XML File for the respective addition data item and deletion data item.how to do???
Any suggestion can be Appreciated.its very urgent
Thanx in advance.
Regards,
HPP.
The code is wriiten for converting internal table to XML file.
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.
DATA: xml TYPE dcxmllines.
DATA: rc TYPE sy-subrc,
BEGIN OF xml_tab OCCURS 0,
d LIKE LINE OF xml,
END OF xml_tab.
*XML conversion -internal table to XML Format.
CLASS cl_ixml DEFINITION LOAD.
g_ixml = cl_ixml=>create( ).
CHECK NOT g_ixml IS INITIAL.
m_document = g_ixml->create_document( ).
CHECK NOT m_document IS INITIAL.
WRITE: / 'Converting DATA TO DOM 1:'.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
name = 'it_prop'
dataobject = it_prop[]
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.
w_rc = m_document->append_child( new_child = l_dom ).
IF w_rc IS INITIAL.
WRITE 'Ok'.
ELSE.
WRITE: 'Err =',
w_rc.
ENDIF.
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
document = m_document
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.
LOOP AT it_xml INTO xml_tab-d.
APPEND xml_tab.
ENDLOOP.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
bin_filesize = w_size
filename = 'C:\prop.XML'
filetype = 'BIN'
TABLES
data_tab = xml_tab
EXCEPTIONS
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
TailOfGon wrote:
Do you want to extract all the data with type='unknown'?
Then try the XPath like this:
resource[type='unknown']/code
Hi,
Yes I want to extract all the data of the type = "unknown", I tried Xpath resource[type='unknown']/code but it didnt work , I still getting all other data of different type .
Thanks,
Ankit G
Similar Messages
-
How do I delete some text in a tag in the XML file?
I need help with removing some text inside the tags so I can use it as a XMLfile
string example
Code
<Event xmlns="http://SwitchKing.Common/Entities/RESTSimplified/2010/07" >
<Description i:nil="true"/>
So these are the tags inside the file that is stopping my work.
I cant seem to find a way to remove the xmlns.... or the i:nil...
The i:nil gives of a error when trying to read the file and the xmlns stops the search for other tags in the file.
So when I have loaded the data I need to delete some text in the tags.
Help!If you want to delete photo stream photos, just deleted them from your device and they will be deleted from iCloud and your other devices. Be sure you don't want them as you cannot get them back once you delete them.
-
How to parse all the data of the particular tag in the xml file
Hi All,
I have a xml file, which have tags like, code,rev_num,type...volunteer.I want to parse the xml and save the all data(code,rev_num...) of the tag <type>unknown </type>in a text file. I tried to use a Match node vi but I not geting the output i need.attach is my attempt , can anyone suggest me or help me out.(Sorry Cant attach the xml hence i saved it as an text file.)
Thanks,
Ankit G
Solved!
Go to Solution.
Attachments:
teeth.txt 385 KB
Xml parse.vi 22 KBTailOfGon wrote:
Do you want to extract all the data with type='unknown'?
Then try the XPath like this:
resource[type='unknown']/code
Hi,
Yes I want to extract all the data of the type = "unknown", I tried Xpath resource[type='unknown']/code but it didnt work , I still getting all other data of different type .
Thanks,
Ankit G -
How to put two pictures side by side without loosing the size?
how to put two pictures side by side without loosing the size? I did create a new canvas and double the size but my pictures are smaller in the new canvas please help meeeeeeee!!! my pictures are High13.6 and wide 20.533 with a resolution 240 im working on photoshop cs3 or cs6
Are you trying to print two pictures on the same sheet of paper? If so, then use Picture Package in CS3 (it is not part of CS6 unfortunately)
http://voices.yahoo.com/using-adobe-photoshop-picture-package-great-digital-614329.html -
I am a beginner of "pages" and have this problem of dots while writing the text. I dont know how to remove these bullets-like dots while spacing in the text. Please help
Look up "formatting" in the User Guide.
http://manuals.info.apple.com/MANUALS/0/MA524/en_US/Pages_UserGuide.pdf -
Wy has apple restricted the use of adobe flash player? How can one watch things like shows from CBS without the flash player?
This has been discussed a billion times. Please search before posting.
Read this: http://www.apple.com/hotnews/thoughts-on-flash/
CBS has apps for watching its shows. Search the AppStore. -
hello, I have a question for you. receipt of some Internet providers or notices notifications on the lock screen and I consume the battery on my iPhone 4S. would you please tell me how do I block these ads in blue letters on the screen me? thanks
Hi demir67,
Welcome to the Support Communities!
The articles below will show you how to block text messages from your iPhone:
iPhone User Guide for iOS 7:
Send and receive messages - iPhone
http://help.apple.com/iphone/7/#/iph01ac18d71
Block unwanted messages. On a contact card, tap Block this Caller. You can see someone’s contact card while viewing a message by tapping Contact, then tap the "i" with the cirle. You can also block callers in Settings > Phone > Blocked. You will not receive voice calls, FaceTime calls, or text messages from blocked callers.
iOS 7: Understanding call and message blocking
http://support.apple.com/kb/HT5845
Notification Center - iPhone
http://help.apple.com/iphone/7/#/iph6534c01bc
Set notification options. Go to Settings > Notification Center. Tap an app to set its notification options. You can also tap Edit to arrange the order of app notifications.
Cheers,
Judy -
How about adding a meta tag to the index file.....
This is another way to get verified with Google and other search engines. Does anyone know a way that you could add a meta tag to the index file generated by iweb??
Thanks for any help....Matt
http://www.want2takecredit.comI'm glad it worked. Nevertheless you might think of uploading an html file as well. The index.html sometimes gets overwritten by iweb, thus the meta-tag would disappear and you would have to do it again. The html file instead stays where it is.
Here's how to procede:
When they will ask you to verify that it really is your website. “Choose verification method” select “Upload an HTML file” and now you will have to build that verification file (here’s a How-to by Roddy).
1. Go to your applications folder and launch Text Edit.
2. Don't put anything on the blank page.
3. Select File/Save As.
4. In the popup window "Save As" box enter your Google number (something like google05a23d347cXXXXXX )
5. In the "Where" box select desktop.
6. In "File Format" menu select HTML.
7. Click "Save".
8. A file will appear on your desktop called google05a23d347cXXXXXX.html
9. This is what you upload to your server or iDisk.
Upload that file to your main folder on your server so that it will be http://www.yoururl.com/google05a23d347cXXXXXX.html (not in the subfolder of the Sites folder named with the title of your site...*).
For .Mac go to the Finder menu and select Go/iDisk/My iDisk/ or hit SchiftCommand(Apple)i and then go to /Web/Sites/. Drop your file into the "Sites" folder
Entering: http://web.mac.com/username/google05a23d347cXXXXXX.html in your browser should bring up this file. If it doesn’t you placed the file in the wrong location.
Entering: http://yourbaseurl.com/google05a23d347cXXXXXX.html in your browser should bring up this file. If it doesn’t you placed the file in the wrong location.
Regards,
Cédric
+I just noticed your other posts on the forum and that you got it solved I'll leave the explanation for other people wondering and stumbling over the thread+ -
How to read the attribute of the xml file using jaxb
Thanks,
Buddy as i have a issue i have to read the xml file using jaxb and xml file contains this data and i have read the attribute like name , desc and action for a particular menu name pls tell the code how to do this it will be a great favour to me
thanx in advance
Rasool
<contextmenu>
<menu name='Lead' >
<menuitem name='newlead' desc='New Lead' action='/leads.do?dispatch=insert' />
<menuitem name='editlead' desc='Edit Lead' action='' />
<menuitem name='leadinfo' desc='Lead Information' action='' />
</menu>
<menu name='Cases' >
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
</menu>
<menu name='Contact' >
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
<menuitem name='' desc='' action='' />
</menu>
</contextmenu>What my program do is to get the encoding of XML files and convert them to UTF-8 encoding files, while I need this "encoding" information of the original XML document thus I can convert...
After reading specifications and JDOM docs, the truth turns to be disappointed, no function is provided to get this information in JDOM level 2(the current released one), while it's promissed that this function will be provided in JDOM level API....
Thanx all for your help and attention!!! -
How to link the InDesign CS5 file to the XML file?
We are putting together a product catalog.
The following link will give you the template indesign file, the xml file and the pdf of the sample spreads.
https://www.wetransfer.com/downloads/0465a99b6ce6b1fd44f12fc26547a38820130722220132/9a813c b215e9cca78bdbe5bc7e3a94e020130722220132/d8c160
We don't know where we are missing a step.
Would anyone be able to look over the files and see what we're missing?
Once we want to tie the xml to the indesign, what is the procedure?
We have to get a 400 page catalog done in a month so I would really appreciate any help.
Thank you.Sharda,
Was this ever published using XML? It doesn't appear so to me. It looks like a lot of manual layout (a reflected layout) and doesn't use paragraph styles and few character styles (even though there seem to be a lot of them created.
Was this at one time a datamerge versus an XML job?
Mike -
How to fetch the relational data from the xml file registered in xdb
Hi,
I have to register the xml file into the xdb repository and i have to fetch the data of the xml file as relational structure through the select statement .
i used the below query to register the xml file in xdb.
DECLARE
v_return BOOLEAN;
BEGIN
v_return := DBMS_XDB.CREATERESOURCE(
abspath => '/public/demo/xml/db_objects.xml',
data => BFILENAME('XML_DIR', 'db_objects.xml')
COMMIT;
END;
Now i have to fetch the values in the xml file as relational data .
whether it is possible ?
can any one help me.
Regards,
suresh.When you transform your XMLdata to a xmltype you can do something like this for example:
select
extractvalue(value(p),'/XMLRecord/Session_Id') session_id,
extractvalue(value(p),'/XMLRecord/StatementId') StatementId,
extractvalue(value(p),'/XMLRecord/EntryId') EntryId
from
table(xmlsequence(extract(xmltype('
<XMLdemo>
<FormatModifiers><FormatModifier>UTFEncoding</FormatModifier></FormatModifiers>
<XMLRecord>
<Session_Id>117715</Session_Id>
<StatementId>6</StatementId>
<EntryId>1</EntryId>
</XMLRecord>
</XMLdemo>
'),'/XMLdemo/*'))) p
where extractvalue(value(p),'/XMLRecord/Session_Id') is not null;
For this sample I've put a readable XML in plain text and convert it to xmltype so you can run it on your own database. -
How to quick import Tags from a xml file?
Good morning/afternoon/night everyone.
I have this client that want me to import something like 1000 tags from a xml file in CQ5.5. I know I can do it programatically and in dev.day.com I have already found some instructions, but, there is some easier way to do this? Or, if the only way is developing a bundle to run in a workflow (and then the client can import tags from xml files anytime he want to), do you guys have some advice or guidelines?
Thanks!I would expect it should be possible using vault. If you export an existing namespace from cq using vault (checkout/update) you can see what format it should be in. Then you should convert your xml to match that format (perhaps using XSLT) and use vault in the other direction (commit).
We are using vault all the time behind the scenes using a vault plugin for maven. This way we can export content from one developer's cq instance, put it in SVN and have another developer import it in his cq instance, all using maven (and vault). This is especially usefull for general content structures and for tags. -
On our Oracle Server there are multipe XML files that I have to read and put the data into an ORACLE 10 table.
I have to threath these XML files one by one.
In the XML there is also een base64-stream (alwasys a WORD-document) . This base64-stream exists of 1.000.000 characters.
How can I read this base64-stream from the XML-file into a BLOB-column of my ORACLE 10 table
ORACLE 10
1 XML = +/- 1 MB
PL/SQL
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<slo xmlns="http://www.myschema.com/gasdedectie">
<LekKey>1999_036371_509627</LekKey>
<HuiNum>46</HuiNum>
<Res></Res>
<InfLig>TEST STRUI AFGESTORVEN - PLAANSTRAAT 46</InfLig>
<XWGS>3.637028</XWGS>
<YWGS>50.962667</YWGS>
<Pei>KESTENS</Pei>
<DatPei>1999-11-30T10:17:36.000+01:00</DatPei>
<Kan> </Kan>
<Doc>UEsDBBQABgAIAAAAIQB5gHbnswEAAHcGAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAA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OtAPhCXIpcXHITQJdWYu
geHNS+V/b6n3miJqiXa1jR7rvNcbEDpGso0s6GQ4uoH/j9WCo29gxzk1P1Uc6KeCNLDi2GXQvUWPwV1U
9rG74F3Er+MrGqpL0TuPuXt1eymKgmxpaSaMy4Lp51QwdHpWDd11wprjuoh76PgqurE8HY3RqGnCvMaA
6VgCeiuMHD9B3ajdxJGhQrcWx0lkJcYSXbaByvE6Bg+dbuRF3pWCKhCDqrzSs25gAmFtmwTAbe1mZ0ce
+gtG+cFg125gAL00eqC809thFCd1K/Cu0AE0AiqaU9fSToyqDI+eHkGF+QFqfN4U17/KvlxzNEnnL9y7
4zmJFV25DiiXCo5+BR8Qn0Fz5y8nmuMWx1CA60M5p4YeD+E0L/w42JCE3j+H41t1jI5vbrU0HIPEwD+g
1x+aMnQ9+TocDQZSry13B8MrnlfFOj9AFJKcDryLbBN68o3GsEywVJU6mUkFVA5+vJQTKYwS6HSoj2vZ
wGOSZEn0uO0Ayz
pQQAALNCCQAAAA==</Doc>
</slo>If I understand your question correctly, the discussion in this thread
ORA-31167: 64k size limit for XML node
shows you do not have a lot of options.
As you are needing to extract the contents of a node from an XML document, and that node is > 64K, you are going to need to treat the entire XML as a CLOB and use CLOB functionality (aka INSTR, SUBSTR) to find and extract what you need.
Once your DB version is 11.1 or greater, then you can use the built-in that Billy mentions.
Note: mdrake is Mark Drake from Oracle. -
How to parse the xml file using servlet
My scenario is like this:
<b>FILE-->XI-->J2EE Application</b>
XI sends the xml file to j2ee application. My servlet receives the file in HTTPRequest string.
How to parse that file using servlets.I should get the xml file as it is and should be displayed in the browser.
Can anyone please help me with code, its urgent.
Please help me!Download this java code
http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/sax/work/Echo02.java
in your servlet code you can write
public void doPost(req,resp){
DefaultHandler handler = new Echo02();
handler.parse(req.getInputStream());
Offcourse you will need to modify the code of Echo02 class a bit to suit your requirement which would finally retrun you a string and you can then write it using
respose.getWriter().write(responseString); -
I am in hurry,how to save the xml file without attributes
i have the following xml file with attributes,
<?xml version="1.0"?>
<Ve2.Configuration>
<Ve2.Displaymanager>
<type type="combobox">eVeDisplayStandardType</type>
<setCounter type="bool">false</setCounter>
<frames type="textfield">20</frames>
</Ve2.Displaymanager>
</Ve2.Configuration>
but i want to save it without attributes, that means, my saved xml file look like this.:
<?xml version="1.0"?>
<Ve2.Configuration>
<Ve2.Displaymanager>
<type >eVeDisplayStandardType</type>
<setCounter >false</setCounter>
<frames20</frames>
</Ve2.Displaymanager>
</Ve2.Configuration>
how can i do it with java.If you know the format of the XML file, then you can write a straight forward XSL file to transform it.
Paul
www.codetelligence.com
Maybe you are looking for
-
How to come up with a magic number for any table that returns more than 32KB?
I am in a unique situation where in I am trying to retrieve values from multiple tables and publish them as XML output. The problem is based on the condition a few tables could retrieve data more than 32KB and a few less than 32KB. Less than 32KB is
-
Hello, I am writinf g the very first program and got stuck, the program is : class Tirtha public static void main(String args []) System.out.println("Hello World !!"); I saved the program as Tirtha.java in the Bin folder in j2sdk, but when I compile
-
Hi, Can someone help and explain me why there's a duplicate item in my sales order. In the sales order document a variant component doubled from ITem 10, item 20 then ITEM 21 then item 30..... Irregularities of item number. The config was defaulted b
-
Source IDoc segment and field is showinh red.
Hi Guys, I have created a mapping between source idoc HRMD_A07 and Target structure MT_Employee. in HRMD_A07 i have mapped segment EP1LOG1 to MT_Employee (direct mapping) to reoccur multiple times. Now when i test the mapping and load test xml instan
-
24" iMacs in UK retail Apple stores?
Does anyone have any idea when the new 24" iMacs will be available to buy in UK Apple retails stores. I've phoned the Brent Cross and Regent Street stores to enquire about availability and they both said that they don't know when they are expecting t