Hi,

I would like to import an xml file (document view) that mainly contains values that are stored in an element. For example:

<Person>
 <Name>a Name</Name>
 <Address>an Address</Address>
 <Number>3</Number>
</Person>

If this would have been described as follows:
 <Person name="a Name" address="an Address" number="3"/>

Then it would be easy to make a compact node type description. Something like:

[Person] > nt:base
 -name (string)
 -address (string)
 -number (long)

But up to now i haven't found a way to specify the right jcr property type of an xml element. It there a standard way to do this?

Paul


Reply via email to