How do I fix this XML issue ?

0 favourites
  • 3 posts
  • So I am trying to do the following

    IF 301<Final<330, Resistor Text = R1560

    IF 331<Final<360, Resistor Text = R1563

    Else , Resistor Text = Help

    Now the code seems to be working, but I am getting no display.

    I've used code like this for other projects, and it works fine, but unless it's one of those times I'm just glazing over something obvious, I am wondering if there is an issue with my implementation of this code.

    Please help if you can

    LINK

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • XML Naming Rules

    XML elements must follow these naming rules:

      Element names are case-sensitive Element names must start with a letter or underscore Element names cannot start with the letters xml (or XML, or Xml, etc) Element names can contain letters, digits, hyphens, underscores, and periods Element names cannot contain spaces

    XML Elements

    <?xml version='1.0' ?>
    <Ref>
    
    	<r0603>
    		<r330>R1560</r330>
    		<r360>R1563</r360>
    	</r0603>
    		
    	<r0805>
    		<r330>R1040</r330>
    		<r360>R1043</r360>
    	</r0805>
    
    	<r1206>
    		<r330>R8080</r330>
    		<r360>R8083</r360>
    	</r1206>
    
    </Ref>[/code:261uifoc]
    
    [quote:261uifoc]xml.StringValue("/Ref/r0603/r330/text()")
  • Argh !

    Thank you for that, I'm going to go fix it right away, I knew it must have been somethin simple

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)