Jump to content

domingoazul

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About domingoazul

  • Rank
    Newbie
  1. Yes, I do. I didn't think about the default namespace..Thanks!
  2. Hello,I would like to change a value of my xhtml document using XPath.This is a summary of my document: <?xml ....?><html ....> <head> ... </head> <body> ... <object> <param name="..." value="..." /> </object> </body></html> I use this XPath argument: "/html/body/object/param/@value" but it does not work.The element who uses this XPath argument is an xforms:setvalue like this: <xforms:setvalue ref="/html/body/object/param/@value" value="instance('appletData')/ws:docRoute" /> I can do something near of what I want with
  3. I do not know what I validated but the code works. Sorry for waste your time.
  4. Hi all,I want to define a schema ('Users') using a element defined on other schema ('Login'). I am using the 'import' element of XML Schema but I am doing something wrong:First part of XSD for Users: <?xml version="1.0" encoding="ISO-8859-1" ?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:log="http://www.uib.es/LogIn/"targetNamespace="http://www.uib.es/Users/"xmlns="http://www.uib.es/Users/"elementFormDefault="qualified"><xsd:import namespace="http://www.uib.es/LogIn/" schemaLocation="login-v02.xsd" /> Including the element of the other schema ('Login'): &
  5. I meant the complexType definition Ok Thanks, it seems to will work. I was searching about something like this 'choose' statement you mention but I can not found anything. Is it part of XML Schema?
  6. Ups, I have just found the Type Substitutability.My question now is reduced to: can I link the type with the value of the attribute?
  7. Hello,I want to associate the content of an element called 'user' depending on the value of its attribute 'profile'.Example: <user profile="student"> <personalInfo> ... </personalInfo> <contactInfo> ... </contactInfo> <profileInfo> <studies>Biology</studies> </profileInfo></user><user profile="teacher"> <personalInfo> ... </personalInfo> <contactInfo> ... </contactInfo> <profileInfo> <department>Mathematics</department> </profileInfo></user> 'p
×
×
  • Create New...