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.
Similar Messages
-
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 -
I just got a mac air and set it up and started using. after getting famiiar with it i migrated my files from my old pc. i did not realise that the files migrated to a new user account. how do i delete this user account but not lose the migrated files?
Mac 101: File Sharing
Mac OS X 10.7 Help: Transfer files between two Mac computers
Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
Mac OS X 10.7 Help: Use iDisk to share files
Mac OS X: Sharing your files with non-Apple computers
How to share a Mac's files with a PC and vice versa. -
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 can I delete some music from my iCloud but not from my iTunes in my computer? please??
iCloud doesn't store your music.
-
How can i delete some books from ibook?
How can i delete some books from ibook? It says: this book can't be opened. The book is corrupt. I can't open and I can't delete it
I was unable to delete a book sample from my iPhone 5s running iOS 7. This seems to be what worked for me. I went to the Library and clicked "edit" in upper right side of the screen. I then tapped one time on the book I wanted to remove and a blue check appeared at the bottom right corner of that book (presumably you could tap several at a time) Anyway, when the blue check is on the book, you will see in the upper left of the screen the word "Delete" (mine was in red) I clicked that and then a confirming dialog came up from the bottom of the screen with the choices of "delete" or "cancel". I chose "delete" and the book was gone. Hope this helps.
-
How do I delete some pages from an existing pdf file?
I have an existing pdf file that is too large to send to some people. How can I delete some pages from this existing pdf file, and break it up into two files?
Acrobat
You can download a 30 day trial at that link.
You may also be able to do it with CreatePDF, but I'm not sure. -
I was using AOL 9 with Internet Explorer and saved 15oo Youtubes as "favorites". I changed to Firefox and upgraded to AOL 10 - my favorites now appear as bookmarks but they aren't arranged in groups (guitar, drums, blues, country, lessons...etc.) and there aren't names to identify them. Do I have to delete all of them and start afresh and if si - how do I delete some of them?
* Export the favorites in IE to an HTML file (bookmarks.html): File > Import and Export
* Import the HTML file in Firefox: Bookmarks > Organize Bookmarks > Import & Backup > Import HTML: From File
See also:
* http://kb.mozillazine.org/Import_bookmarks ("Import from another browser" and "Import from file") -
The "All Pages" on mobile shows 100's of pages. How do I delete some of these
"All Pages" tab on mobile shows way too many sites. How do I delete some of these pages
We don't have a way to delete some of the pages by default. The Cleary extension allows deleting pages from a specified time frame. https://addons.mozilla.org/en-US/mobile/addon/cleary/
-
I have an iphone 4 8gig there is 2.4 gig of "other" showing on my usage which is more than all other data on the phone. What is it and how do I delete some to clear space?
Sorry. We can't help you. It's no longer an iPhone. Apple won't touch it.
Take it to whoever replaced the screen and see if they can help you.
iPhones are not user servicable and Apple does not sell iPhone parts at all. I'd be surprised if you were actually able to back it up at this point. It sounds like it's completely borked. -
HT201077 How do I delete some photos from my photo stream only on my iPhone?
How do I delete some photos from my photo stream only on my iPhone? I do not want the photos that haved been placed on my MAC and Ipad deleted, just my phone. I also want the videos off my phone.
If you delete them from photo stream they will also be deleted on your other devices. To keep them on your iPad, save them to the camera roll (open your my photo stream album, tap Edit, tap the photos, tap Save to Camera Roll). To keep them on you Mac, go to iPhoto>Preferences>Photo Stream and check Automatic Import. You can confirm that they are saved in your iPhoto library by clicking on Photo Stream on the left sidebar of iPhoto, open your My photo Stream album, then control-click on your photos. If the pop-up says "Show in Library" they are safely stored in your iPhoto library. Then you can delete them from your phone and they will remain on your other devices.
To import videos, see http://support.apple.com/kb/HT4083. If you only want to delete them go ahead. Photo stream doesn't sync videos so this will have not impact on your other devices. -
How can I delete some data so I can back my iPhone up to the icloud
I want to back my iPhone up to the icloud. How can I delete some data
DO NOT start iTunes. Connect your phone to a computer and then access the photo folder, should be the only folder that will appear when you access your phone through the file explorer. You are looking for the DCIM folder. Open it and then either copy the photos to a folder on your computer if you want to save them. Then you can delete them from your phone.
Or you can simply go into Pictures, Open the folder you want to empty out, Tap Select, Tap the pictures (Sorry but you have to touch each one) and then tap the trash can.
And remember that if anyone has messaged you a picture it will be in Messages and also taking up room. -
i have purchased adobe pdf pack so i can delete some text from my converted files, this will only let me add text but not delete any, please help
I tyhink that you need ExportPDF, Adobe ExportPDF (read only). In any case, thius may help: Cancel your membership or subscription | Acrobat.com online services
-
I have deleted some texts messages in error, can I retrieve them
I have deleted some texts messages in error, can I retrieve them
By restoring from a backup that contains the deleted messages.
-
The idea is that some texts may be seen in the screen but not printed when the form is filled up.
Adobe has information on this in ECycle but could not find any reference in Acrobat X or Indesign.
It may be a solution to convert a frame text to a button and change thus its appeareance; but converting many continous texts in a form to single frames is a very dispensing task.Place the text in a text field and set its visibility properties to "Visible, but doesn't print".
Alternatively, if the text is a part of the running text of the PDF and can't be placed in a form field, place a white form field on top of this text, and set that field's visibility to "Hidden but printable", so it would in effect hide the text underneath it when the file is printed, but will be invisible when viewed on screen.
Maybe you are looking for
-
Time Machine Migration Assistant - Calculating ...
Hey, I've got a little problem - I recently got my iMac back from repair (the hard rive was failing). Now I am trying to put all may stuff from my time machine backup back on this machine... It came with 10.6. preloaded...However, when I start the mi
-
Photoshop CS6 version 13.0 v64 On Mac OS 10.8.5 Error Message: Could not complete your request because of a program error. Help! My CS6 photoshop was working before I upgraded my operating system to OS 10.8.5. I uninstalled photoshop and reinstalled
-
I have worked with flash, loading swf files into iweb without issue until now. I have two sites, www.thepulsedesigngroup.com and www.crplgroup.com and both are created in iweb08. Now for my first site I am trying to update my swf file and create a ne
-
How to install acsm file to read books on ipad?
Overdrive cannot open books because acsm file has expired.
-
How do i put icloud in my dock
how do i put icloud or a mail icon in my dock. I have an G4 imac.