How to filter xml using dtd and create a new xml document
Good morning my name is Antonio and I'm an italian programmer.
I need an help about the follow question.
I want to filter the contents of a XML document using a DTD to allow
only the valid elements and attributes as specified in the DTD to be
passed through to the output, any data that does not conform to the DTD
should be filtered out.
To resolve this problem there's XML Translator Generator (XTransGen): http://www.alphaworks.ibm.com/tech/xmltranslatorgenerator
but at moment it's not avaiable.
Can you help me?
Many thanks.
ciao
Antonio
...
Similar Messages
-
i bought a second hand ipad 4 4g the first user forgot the apple id and password, how can i restore the ipad and create a new id and password for it?
You cannot get around Activation Lock without the oringinal owner disassociating the iPad from their account.
See the Activation Lock FAQ for what you and they need to know. -
How to crop a mp3 file and create a new small one from it?
Hi all,
I would crop a long mp3 sound file and create a new small one with the short part from the long mp3 sound file. How to do it? Anybody can help me?
Thank you very much.
Regard
DavidHave you managed to do this?
I would also like to know how.
Thanks
Jeff Singer -
How to mass copy old rating and weightage to new appraisal documents in OSA
Hello experts,
As a part of annual appraisal process, we have incorporated some new logics in terms of rating calculation and elements in the same templates. But those logics are not being copied in already triggered documents whose goals/objects are approved by manager during mid year.
Now we are planning to trigger new documents for all those employees, but can any one suggest how to copy those approved goals and objectives in new documents? As my client doesnot want to go through the goal setting process again .
Please suggest if any BADI or ABAP program we can use for the same.
Regards
Tandrimaimplement a fix enhancement (HRHAP00_ENHANCE_FIX) to add the old approved elements to the new document. And tehn have value determinations (HRHAP00_VAL_DET) to fill these added elements with the correct content.
Regards and Groetjes,
Maurice Hagen -
Had to create a new AppleId because the old one that I had was linked to my daughters IPhone account now that was successful I'm having trouble setting up a new iCloud account under my new apple ID due to it not transferring.
If you have both already been syncing data to the same account and now have merged data, you would have to set up a new account with your new ID, migrate a copy of the data to the new account, then eliminate your daughter's data from your account and vice versa.
To do this, on the phone that will be changing accounts go to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off. When prompted choose to keep the data on the iPhone. After everything is turned off, scroll to the bottom and tap Delete Account. (This will only delete the account from this phone, not from iCloud. The other phone will not be effected by this.) Next, set up the new iCloud account on this phone using the other Apple ID and turn iCloud syncing for for contacts, etc. back to On. When prompted, choose Merge. This will upload the data to this new account. At this point you will have two different iCloud accounts, one for each phone, with identical data on them.
You will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the unwanted data (such as deleting your daughter's contacts from your account, and vice versa). These changes will be reflected on each phone. When finished you will have individual iCloud accounts with just your own data on them. -
Query on sorting XML using XSLT and getting the same XML as output !
Hi,
Looking for one information regarding sorting XML using XSLT , with the sorted XML as output. For eg. my XML is :
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="sort1.xsl"?>
<levelone>
<child ID="1" sort="5">
<name>Paul</name>
</child>
<child ID="2" sort="1">
<name>Adam</name>
</child>
<child ID="3" sort="2">
<name>Will</name>
</child>
</levelone>
and XSL :
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/levelone">
<xsl:copy>
<xsl:apply-templates>
<xsl:sort select="@sort"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>
<xsl:template match="child">
<xsl:copy-of select="."/>
</xsl:template>
</xsl:stylesheet>
This does the sort based on Name. But I want to get the same xml as output with the name sorted. Eg.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="sort1.xsl"?>
<levelone>
<child ID="2" sort="1">
<name>Adam</name>
</child>
<child ID="1" sort="5">
<name>Paul</name>
</child>
<child ID="3" sort="2">
<name>Will</name>
</child>
</levelone>
Any pointers will be highly appreciated.
- ThanksDon't you want <xsl:sort select="name"/> rather than <xsl:sort select="@sort"/>?
-
How do I keep all my stuff on my phone and get off his itunes account?
FAQ apple id http://support.apple.com/kb/he37
your app's will be tied to your ex husband account, so anytime there is an update it will ask for that password.
You can try and delete the apps and then reinstall it with the new id and see ifthat works. -
I have a temp working for me and she scanned all our batches upside down is there a way to flip them and save them without her having to rescan every batch. We have tried flipping them and doing a save as, we have also tried to flip them and create a new pdf document but nothing seems to be working
If the file type is PDF then open them in Acrobat and rotate them via Tools - Pages - Rotate (not via the View menu, which is only temporary).
You can also do this in an Action, if you have Acrobat Pro, and process multiple files in a single process. -
How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
Hi,
I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
( f.ex. cannot verifying it correct in xmlspy )
my dbms is
NLS_CHARACTERSET = WE8MSWIN1252
NLS_NCHAR_CHARACTERSET = AL16UTF16
NLS_RDBMS_VERSION = 10.2.0.1.0
I do generate it in this matter :
declare
xmldoc CLOB;
ctx number ;
utl_file.file_type;
begin
-- generate fom xml-view :
ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
DBMS_XMLGEN.setRowSetTag(ctx, null);
DBMS_XMLGEN.setRowTag(ctx, null );
DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
-- create xml-file:
xmldoc := DBMS_XMLGEN.getXML(ctx);
-- put data to host-file:
vblob_len := DBMS_LOB.getlength(xmldoc);
DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
UTL_FILE.put_line(bHandle, vbuffer, FALSE);
UTL_FILE.fclose(bHandle);
end ;
maybe while work UTL_FILE there is a change the encoding ?
How can this solved ?
Thank you
Norbert
Edited by: astramare on Feb 11, 2009 12:39 PM with database charsetsMarco,
I tryed to work with dbms_xslprocessor.clob2file,
that works good,
but what is in this matter with encoding UTF-8 ?
in my understandig, the xmltyp created should be UTF8 (16),
but when open the xml-file in xmlSpy as UTF-8,
it is not well ( german caracter like Ä, Ö .. ):
my dbms is
NLS_CHARACTERSET = WE8MSWIN1252
NLS_NCHAR_CHARACTERSET = AL16UTF16
NLS_RDBMS_VERSION = 10.2.0.1.0
-- test:
create table nh_test ( s0 number, s1 varchar2(20) ) ;
insert into nh_test (select 1,'hallo' from dual );
insert into nh_test (select 2,'straße' from dual );
insert into nh_test (select 3,'mäckie' from dual );
insert into nh_test (select 4,'euro_€' from dual );
commit;
select * from nh_test ;
S0 S1
1 hallo
1 hallo
2 straße
3 mäckie
4 euro_€
declare
rc sys_refcursor;
begin
open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
end;
( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
open in xmlSpy is:
<?xml version="1.0"?>
<ROWSET>
<ROW>
<S0>1</S0>
<S1>hallo</S1>
</ROW>
<ROW>
<S0>2</S0>
<S1>straޥ</S1>
</ROW>
<ROW>
<S0>3</S0>
<S1>m㢫ie</S1>
</ROW>
<ROW>
<S0>4</S0>
<S1>euro_</S1>
</ROW>
</ROWSET>
regards
Norbert -
How can I select 5-star photos in one catalog and use them to create a new catalog
I've been using Lightroom since LR1. I now have several LR 5.5 catalogs generally organized by year and camera. I want to create a new catalog which will contain my best from each catalog. BUT, I don't want to remove the photos from their "home" catalog. The photos will continue to reside in both their original catalog and in the new "Portfolio" catalog. The easiest way to approach this is to filter photos in catalog "A" by rating, select all 5-star photos and create a new catalog containing just the selection. I don't want to export or remove them from their catalog or move them on disk. I want them to appear in BOTH catalogs. Since Lightroom is built on a database that merely points to image files, it seems like this should be possible.
I realize I can create an empty catalog and select File->Import from Another Catalog... , then locate the photos one at a time by name and location clicking the import checkbox - tedious is an understatement when you have several 10's of thousands of photos.
Any ideas?jimfeet wrote:
Yes, that's an option I've considered. But as with any database, size is inversely proportional to speed - larger database equals slower performance. LR 5 is much better than earlier versions in this regard but when you reach 100,000 images you can feel it.
This is incorrect. I accept that you think the database is getting slower, but the database (and really all databases) are designed to work pretty much the same regardless of the number of records, except for perhaps searching through the entire catalog. We have seen in this forum people who are now editing larger RAW files than a few years ago, they see it is slower, and decide it is the size of the database, rather than the size of their photos.
What aspects of Lightroom are slow? If it's scrolling and displaying the previews and searching, then it might be the database. If its displaying images in the Develop module, it is NOT the database at all.
Have you taken steps to improve the performance of the database, such as Optimizing it regularly? have you tried these performance tips: FAQ: Experiencing Performance related problems in Lightroom? -
MY wife has an Iphone 4 and I have a 5. To date we have used one apple account to manage music purchases/library. I updated ny phone to the new OS version and all her texting is showing up on my phone. I understand if i create an apple account for her I will not see her texts. Recently we bought a Mac and created a new apple account for her. How do I synched her phone with new apple account and get access to the music library under my account on the new MAC laptop before I update her phone to the new OS?
Going forward if I purchase music under my apple id and want her to have it on her device, how can I acheive that?You can continue to share an Apple ID for purchases.
Sign her in to her new account here:
Settings > iCloud > Delete Account (Keep on Phone if you want to transfer contacts, calendars, etc...) then sign in with her new ID
Settings > Messages > Send & Receive > Apple ID > Sign out then in with new
Settings > FaceTime > Apple ID > Sign out then in with new
Use the same Apple ID here:
Settings > iTunes & App Stores > Apple ID -
I have just purchased an iPhone5 and created a new user instead of using my iPhone3 ID. How can I access my previous data?
don't just sign out!
if you simply sign out, the stuff you recently purchased will be an issue in the future when an update comes out for apps or anything else. restore the device as new from itunes then restore from a back if you have one as stated above...or set up as new and use correct apple id. this will ensure you will be using the apple id that you used originally without issues from the new one. -
I no longer have access to the email address used as my Apple ID and when I choose to answer security questions, my DOB had to have been originally entered incorrectly because it keeps failing. How do I get rid of my old Apple ID and create a new one?
Contact Apple, either through the link in that article or by phoning them. Alternatively, just create a new Apple ID; previous iTunes Store purchases won't be transferred to it.
(79271) -
How can a use a itunes soft. and create a new id
how can a use a itunes soft. and create a new id itunes ?
and
we are update the lattest version in my iphone 3gs 16gb ?
how can backup my iphone and install other application ?
pls. reply me .
jayesh panchalIt is not possible to delete an apple id completely. You can only delete information like credit card, adress, name... To do this, go to iTunes Store, click on your email adress in the upper right corner and enter your password. Now you can manage your account.
An apple id without password is not possible. -
I connected a friends ipod to my computer without syncing it. Now my apple ID is on their ipod. How do they delete my iD and create their own to be able to facetime and use apple store?
For Apple store go to Settings>iTunes and App Stores and sign out and sig in with correct ID
For messages go to Settings>FaceTime>You can be reached at and ad an their own unique email address and delete the common Apple ID address.
Similar for Messages too.
Maybe you are looking for
-
I am canadian and was given two gift cards for Christmas but cant use them. I get the message that they must be in the american store Help
-
Assassin's Creed: Brotherhood Pre-order
Death's Finest Ally Few have seen him. Even fewer have lived to tell about it. Fear is his friend, and Death is his ally. He stalks his prey through teeming masses of humanity, accomplishes his mission with a wicked thrust of his blade, and vanishes
-
Add a custom-field in the table MARC and manage it in MM01/MM02/MM03
Good day to all of you! I have this task: To add a custom-field to the table MARC. This custom-field will be managed through the MM01/MM02/MM03 transaction as follows: In the Basic Data 1 or Basic Data 2 the custom-field data will be added. Let's say
-
Just got a new Tour yesterday for my wife after trying out a friends Curve. On the curve we were able to access web pages she needed for work. With the Tour we just get a blank grey screen. Any idea? VZW said that the Tour must not be able to view th
-
Exchange Messages Disappearing, but not gone on server.
I recently installed Lion, and I love it, but my mail is acting up. With my exchange server, it deletes my messages from my computer shortly after I read them. It is NOT deleting them from the server, but anything read is now gone from view on my com