Skip to main content

XML Question 88 Responses

Last post: 2 years, 2 months ago | Thread started: Mar 19, 10, 12:18 p.m.

RespondNew TopicDisable Images

Out of context: Response #5 [Mar 19, 10, 12:18 p.m.]

  • GeorgesII

    bump
    I think I explained it wrong,
    what I'm trying to obtain is to go from this
    <album title="my album" description="very cool " lgpath="gallery/">
    <img src="sarde_04.jpg" description="Villa in Sardegna " caption="" />
    </album>
    to
    <album title="my album" description="very cool " lgpath="gallery/">
    <img> src="sarde_04.jpg" description="Villa in Sardegna " caption="" </img>
    </album>
    I want to be able to close the <img> node

    • that's not valid. your attributes are outside the node. you'd need to make SRC, description and caption child nodes of img.monNom1/4
      child nodes of img.monNom2/4
      eg: <src>sarde_04.jpg</src>monNom3/4
      It's totally valid, but not recommendable.welded4/4
    next note >+ add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel

Skip to main content