Matheo Software Forum Index
Matheo Software : USER COMMUNITY
Log in
Username
Password
Log me on automatically each visit
RegisterRegister
FAQFAQ
UsergroupsUsergroups
SearchSearch

XML / XSL Template !
Post new topic    Reply to topic
Matheo Software Forum Index -> Matheo Patent View previous topic :: View next topic  
Mannina
Site Admin
Joined: 06 Jan 2005
Posts: 978
Sun 17 Apr 2005
Location: Marseille
XML / XSL Template ! Reply with quote
Hi all,

I've made a little template XSL and i want your comment !

How can it used ? It's very easy !

First download the XSL file (save this file on your computer)

Second, do an export XML with MPatent (Tools/Export XML).
Edit your XML file result, and add these lines at the beginning of your file :

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="template.xsl" type="text/xsl" ?>

(May be you have already the first line)

Third, Open the XML file with your browser. That's all Very Happy

Note that's only a beginning, if you have any proposition to ameliorate this template, it's welcome Wink


Bruno
View user's profile Send private message Send e-mail Visit poster's website Back to top
dreyfus

Joined: 11 Jan 2005
Posts: 180
Fri 29 Apr 2005
Location: Paris la defense
Re: XML / XSL Template ! Reply with quote
Idea
Bonjour
J'ai fait un export XML
J'ai bien la première ligne
Quand j'ouvre le fichier, je ne sais pas comment rajouter la deuxième ligne Question Question

Mannina wrote:
Hi all,

I've made a little template XSL and i want your comment !

How can it used ? It's very easy !

First download the XSL file (save this file on your computer)

Second, do an export XML with MPatent (Tools/Export XML).
Edit your XML file result, and add these lines at the beginning of your file :

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="template.xsl" type="text/xsl" ?>

(May be you have already the first line)

Third, Open the XML file with your browser. That's all Very Happy

Note that's only a beginning, if you have any proposition to ameliorate this template, it's welcome Wink


Bruno

_________________
Best regards
View user's profile Send private message Send e-mail Visit poster's website Back to top
Mannina
Site Admin
Joined: 06 Jan 2005
Posts: 978
Sat 30 Apr 2005
Location: Marseille
Reply with quote
En fait il faut ouvrir le fichier XML en utilisant un éditeur de texte et non un navigateur pour faire la modification. Utilisez un simple copier/coller en remplacer la première ligne par les 2 ci-dessous.

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="template.xsl" type="text/xsl" ?>


Une fois cette modification effectuée, utilisez un navigateur comme I.E pour ouvrir le fichier XML.

Bruno
View user's profile Send private message Send e-mail Visit poster's website Back to top
jcvergar

Joined: 17 Jan 2005
Posts: 328
Tue 03 May 2005
Location: Oiartzun - Spain
Reply with quote
J'ai fait quelques tests avec quelques recherches sauvegardées. Tout bien en general, maintenant je prevois plus de tests ...

Il peut avoir un probleme quand il y a quelques caracteres non conventionelles dans le texte, par exemple le "&" dans le titre. Alors on doit editer le texte.

Idea Je pense que la exportation XML devrait remplacer automatiquement le "_&_" avec "_and_" pour eviter cet erreur.

Ce qui manque pour être 100% OK est la integration des images ".png" dans la fiche bibliografique, à coté du résumé. ¿comme est ce qu'on pourrait integrer cettes images?

jcv
View user's profile Send private message Send e-mail Visit poster's website Back to top
Mannina
Site Admin
Joined: 06 Jan 2005
Posts: 978
Tue 03 May 2005
Location: Marseille
Reply with quote
En fait, en ce qui me concerne je bloque pour l'instant sur plusieurs choses, c'est pour cela que je n'ai pas travaillé à fond sur les caractères spéciaux. Pour l'instant seuls quelques uns sont bien gérés comme par exemple les < >.

Le passage de paramétres n'est pas évident aussi pour afficher les Desc et Claims dans une autre page. Le passage de parametre se fait assez difficilement et nécessite d'apres ce que je comprends dans les docs.

Et maintenant il y a aussi le test en XML si l'image existe enfin le fichier.
Une instruction du style if FileExists.... ce qui permettrait d'afficher l'image situé dans un répertoire défini.

Je continue mes recherches sur le XML. Smile

Bruno.
View user's profile Send private message Send e-mail Visit poster's website Back to top
Display posts from previous:   
Matheo Software Forum Index -> Matheo Patent Page 1 of 1, All times are GMT
Post new topic    Reply to topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB Group © 2001,2005. Vision2 Template by Some

Anti Bot Question MOD - phpBB MOD against Spam Bots
Blocked registrations: 112522