Search found 20 matches

by crult
Mon Oct 11, 2010 11:37 am
Forum: XSLT and FOP
Topic: Parsing XML with XSLT
Replies: 3
Views: 2282

Re: Parsing XML with XSLT

Thank you very much for the help. I'll try to read and write some code. I'll give you the results to comment if there are some errors.

Best regards
by crult
Sun Oct 10, 2010 8:51 pm
Forum: XSLT and FOP
Topic: Parsing XML with XSLT
Replies: 3
Views: 2282

Parsing XML with XSLT

Hello, I have a folder containing a large number of .xml files. Alternatively, i have also a .txt file that contains all these .xml like text. These documents come from newspaper's articles in xml format. There's is a sample: <?xml version="1.0" encoding="UTF-8"?> <Document xyurl="xyl://20040101N007...
by crult
Wed Feb 10, 2010 12:49 pm
Forum: XSLT and FOP
Topic: Searching files with XSLT
Replies: 8
Views: 3255

Re: Searching files with XSLT

Hello,

i have to see the XSLT documentation, have a nice day, thank you :)
by crult
Tue Feb 09, 2010 8:13 pm
Forum: XSLT and FOP
Topic: Searching files with XSLT
Replies: 8
Views: 3255

Re: Searching files with XSLT

Hi again! What is the syntaxe for not? If i don't want a specific word inside? I tried some things but it doesn't work <xsl:if test="/Document/Article[1]/Texte[ contains(.,'combat') and contains(.,'provinces') and contains(.,'Deux') ]"> where am i supposed to use ''not''? thanks!
by crult
Tue Feb 09, 2010 6:01 pm
Forum: XSLT and FOP
Topic: Searching files with XSLT
Replies: 8
Views: 3255

Re: Searching files with XSLT

Ok, i have now some useful information to continue the job! Thanks for the support.

Have a nice day

Giannis
by crult
Tue Feb 09, 2010 5:38 pm
Forum: XSLT and FOP
Topic: Searching files with XSLT
Replies: 8
Views: 3255

Re: Searching files with XSLT

So... that works perfectly, thanks! I have two questions if you can help me: - The location of the tag <Texte> isn't always the same /Document/Article[1]/Texte in all files. So, can i use //Texte making the research sure? - I wrote the following scenario in order to copy the Xml files that contain t...
by crult
Tue Feb 09, 2010 1:47 pm
Forum: XSLT and FOP
Topic: Searching files with XSLT
Replies: 8
Views: 3255

Re: Searching files with XSLT

Hi,

i'm very interested in your solution. I have to test it today and i'll give you the results :D

Thank you very much!
by crult
Mon Feb 08, 2010 6:56 pm
Forum: XSLT and FOP
Topic: Searching files with XSLT
Replies: 8
Views: 3255

Searching files with XSLT

Hello, i have some xml files containing newspaper articles. Each xml has different tags but the most important is the tag <Texte> with the article itself (the other tags describe other information like the date, the title etc). There's an exemple of <Texte> (the texte is in french): <Texte> <P>Sur l...
by crult
Sun Feb 07, 2010 1:16 pm
Forum: Common Problems
Topic: Oxygen 10.3 runs out of memory
Replies: 6
Views: 5220

Re: Oxygen 10.3 runs out of memory

Problem resolved! Try it in 4gb memory machine and i gave 1500mb to th jvm. Now that works perfectly. Thank you very much for the help :D
by crult
Fri Feb 05, 2010 5:12 pm
Forum: Common Problems
Topic: Oxygen 10.3 runs out of memory
Replies: 6
Views: 5220

Re: Oxygen 10.3 runs out of memory

I don't know much for the updates because that's a friend's machine not mine. Possibly i think that it's always up to date. I'll have the opportunity to try with the all-in-one distribution toomorrow or on Sunday and i'l give you some information. Thank you very much for the support so far. Have a n...
by crult
Fri Feb 05, 2010 3:27 pm
Forum: Common Problems
Topic: Oxygen 10.3 runs out of memory
Replies: 6
Views: 5220

Re: Oxygen 10.3 runs out of memory

Yes i'm running Oxygen in Windows Xp. I've 1 gb of ram in this system and i tried the -Xmx640m. That goes better (i have more results now) but the problem remains, i understand that it's normal with the little amount of my ram...I wanted to try this in an another pc with 2gb of ram and use -Xmx1500m...
by crult
Fri Feb 05, 2010 2:15 am
Forum: Common Problems
Topic: Oxygen 10.3 runs out of memory
Replies: 6
Views: 5220

Re: Oxygen 10.3 runs out of memory

I tried also with a smaller folder but the software always stops after copying 350-380 files in the target folder. I tried to an another pc but same result.
by crult
Fri Feb 05, 2010 1:58 am
Forum: Common Problems
Topic: Oxygen 10.3 runs out of memory
Replies: 6
Views: 5220

Oxygen 10.3 runs out of memory

Hello, i have this problem: When i apply a XSLT scenario, the trasformation begins but after a certain amount of time the software stops itself saying that there's not enough memory (it is a oxygen's message, not by the system). It is due to the large number of files that i transform at once? Thank ...
by crult
Mon Feb 01, 2010 10:21 pm
Forum: General XML Questions
Topic: Store the locations of all files in an extra file
Replies: 0
Views: 2395

Store the locations of all files in an extra file

Hi, I have some folders with .xml files.How can i create automatically a new xml where will be stored the locations of all the xml files? I created manually this, but i want to make it automatically with XSLT (oxygen 10.3): <folder> <file name="20040101N0001.xml">01/20040101N0001.xml</file> <file na...
by crult
Sun Jan 31, 2010 7:39 pm
Forum: General XML Questions
Topic: Search and copy XML files into a new directory
Replies: 8
Views: 4722

Re: Search and copy XML files into a new directory

So i have to describe you exactly the situation: All these folders are in the same directory(folder ''XSL'') 1) The name of the folder containing the XML files is ''01'' 2) The folder where i want to extract only the files containing <Secteur>SCI</Secteur> is named ''SCI''. The Xpath is /Document/Ar...
by crult
Sun Jan 31, 2010 6:31 pm
Forum: General XML Questions
Topic: Search and copy XML files into a new directory
Replies: 8
Views: 4722

Re: Search and copy XML files into a new directory

That's what i need i think!thank you very much for the support. If i have any questions i'll post them. thanks!
by crult
Thu Jan 28, 2010 9:28 pm
Forum: General XML Questions
Topic: Search and copy XML files into a new directory
Replies: 8
Views: 4722

Re: Search and copy XML files into a new directory

hi, someone proposed me something like this: ''If you have XSLT 2.0, you can store the locations of all files in an extra file, then for each location in that file, check this category, and then produce a new document that is the copy-of the document. AFAIK, Oxygen's XSLT processor is XSLT 1.0. Does...
by crult
Fri Jan 22, 2010 9:10 pm
Forum: General XML Questions
Topic: Search and copy XML files into a new directory
Replies: 8
Views: 4722

Re: Search and copy XML files into a new directory

Thank you very much for the instructions, i have to try this!
by crult
Fri Jan 22, 2010 1:57 pm
Forum: General XML Questions
Topic: Search and copy XML files into a new directory
Replies: 8
Views: 4722

Re: Search and copy XML files into a new directory

If i make a minor change on the target XML files, ask for their backup with .xml extension and find them? What's the backup directory? If it isn't the solution, is that possible with another software or tool (or XSLT)?

thank u very much
by crult
Thu Jan 21, 2010 10:33 pm
Forum: General XML Questions
Topic: Search and copy XML files into a new directory
Replies: 8
Views: 4722

Search and copy XML files into a new directory

Hello, i'm using the 10.3 version of Oxygen in windows xp. I have the following problem: i have some folders with many XML files inside. I want to find only the files that contain a specific annotation (for example <Secteur>SCI</Secteur> ). There are some newspaper articles in XML format. The conten...