Re: [Pharo-users] Generating custom classes based on attributes from XML Document

2016-08-17 Thread monty
gt; Subject: [Pharo-users] Generating custom classes based on attributes from XML > Document > > I have a XML like this > > > isAbstract="true"> > > > > > > > and I would like to generate UmlClass and UmlAssociation classes f

Re: [Pharo-users] Generating custom classes based on attributes from XML Document

2016-03-19 Thread Hernán Morales Durand
Hi Peter and Stef, Sounds like you want a XML Digester? This is the one in Java: https://commons.apache.org/proper/commons-digester/ May be you want to check as reference. Cheers, Hernán 2016-03-19 9:14 GMT-03:00 stepharo : > We had great fun with peter because I could

[Pharo-users] Generating custom classes based on attributes from XML Document

2016-03-19 Thread Peter Uhnák
I have a XML like this and I would like to generate UmlClass and UmlAssociation classes for this. I could use XMLPluggableElementFactory, however that only allows me to specify the target class only on the element's name, such as doc := (XMLDOMParser on: someXML) nodeFactory:

Re: [Pharo-users] Generating custom classes based on attributes from XML Document

2016-03-19 Thread stepharo
We had great fun with peter because I could understand what I was looking for around my xml importer. Peter has the same problem so it was fun that we can talk and see the light. What we learned in the process is that the pluggable behavior is nice but limited - type of matching -