ashmedai82 Posted July 30, 2008 Share Posted July 30, 2008 Hi everybody, this is my problem:**** My XML file<ConjuntoPropiedades id="i703e9eea-49a3-41ad-bdf4-785c0e32784d"> <Fisicas> <Dimensionales> <Ancho xsi:type="TipoPropiedadFloat"> <ValorFloat> <Float>100.0</Float> <Unidad> <CodigoUnidadMedida>MTR</CodigoUnidadMedida> </Unidad> </ValorFloat> </Ancho> <Area xsi:type="TipoPropiedadFloat"> <ValorFloat> <Float>100.0</Float> <Unidad> <CodigoUnidadMedida>MTK</CodigoUnidadMedida> </Unidad> </ValorFloat> </Area> </Dimensionales> </Fisicas></ConjuntoPropiedades> *** I want to get the node names inside node Dimensionales, in this case are 'Ancho' and 'Area'*** That xpath in XML Spy : ConjuntoPropiedades/Fisicas/Dimensionales/*/name() return two strings 'Ancho' and 'Alto'.*** But in ireport 3.0.0, that expression fail.*** The question is if it's possible to get the node names in a XML Data Source with the xpath function name() in iReport or in other words, how can i get a XML node name in iReport/JasperReports.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now