Read the XML, that is the easiest way On Mon, Oct 27, 2008 at 12:12 PM, Max Rezanov <[EMAIL PROTECTED]> wrote:
> > Hi nhusers nhusers, > > I need get value "length" attribute from mapping file. > > for example i have mapping file > <?xml version="1.0" encoding="utf-8" ?> > <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" > namespace="SRCC.Terra.Orion.Common.DO.ADM" > assembly="SRCC.Terra.Orion.Common"> > <class name="ActionDO" table="ADM$ACTION" lazy="false"> > <!-- select-before-update="true" --> > <id name="ID"> > <column name="ID" length="40" /> > <generator class="assigned"/> > </id> > <property name="Description" length="100"/> > <set name="Groups" table="ADM$ACTION_GROUP" lazy="true"> > <key> > <column name="ID_ACTION" not-null="true"/> > </key> > <many-to-many class="GroupDO"> > <column name="ID_GROUP" not-null="true"/> > </many-to-many> > </set> > </class> > </hibernate-mapping> > > in result i need > ID=40 > Description=100 > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
